mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Nullkiller: temporary hacks to allow army buying
This commit is contained in:
committed by
Andrii Danylchenko
parent
286d084445
commit
04bf6f536d
@@ -4,6 +4,7 @@
|
||||
#include "../AIHelper.h"
|
||||
#include "../Behaviors/CaptureObjectsBehavior.h"
|
||||
#include "../Behaviors/RecruitHeroBehavior.h"
|
||||
#include "../Behaviors/BuyArmyBehavior.h"
|
||||
#include "../Goals/Invalid.h"
|
||||
|
||||
extern boost::thread_specific_ptr<CCallback> cb;
|
||||
@@ -74,6 +75,7 @@ void Nullkiller::makeTurn()
|
||||
updateAiState();
|
||||
|
||||
Goals::TGoalVec bestTasks = {
|
||||
choseBestTask(BuyArmyBehavior()),
|
||||
choseBestTask(CaptureObjectsBehavior()),
|
||||
choseBestTask(RecruitHeroBehavior())
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user