mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
NKAI: mana recovery
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "../Behaviors/BuildingBehavior.h"
|
||||
#include "../Behaviors/GatherArmyBehavior.h"
|
||||
#include "../Behaviors/ClusterBehavior.h"
|
||||
#include "../Behaviors/StayAtTownBehavior.h"
|
||||
#include "../Goals/Invalid.h"
|
||||
#include "../Goals/Composition.h"
|
||||
|
||||
@@ -262,7 +263,8 @@ void Nullkiller::makeTurn()
|
||||
choseBestTask(sptr(CaptureObjectsBehavior()), 1),
|
||||
choseBestTask(sptr(ClusterBehavior()), MAX_DEPTH),
|
||||
choseBestTask(sptr(DefenceBehavior()), MAX_DEPTH),
|
||||
choseBestTask(sptr(GatherArmyBehavior()), MAX_DEPTH)
|
||||
choseBestTask(sptr(GatherArmyBehavior()), MAX_DEPTH),
|
||||
choseBestTask(sptr(StayAtTownBehavior()), MAX_DEPTH)
|
||||
};
|
||||
|
||||
if(cb->getDate(Date::DAY) == 1)
|
||||
|
||||
Reference in New Issue
Block a user