#1102 - NKAI: one more freeze - no mains with strong army

This commit is contained in:
Andrii Danylchenko committed 2022-11-10 21:12:08 +02:00
1 parent c5cf0e4086
commit 3676152644
1 file changed
+1 -2
+1 -2
View File
@@ -57,8 +57,7 @@ Goals::TGoalVec BuyArmyBehavior::decompose() const
continue;
}
if(ai->nullkiller->heroManager->getHeroRole(targetHero) == HeroRole::MAIN
&& targetHero->getArmyStrength() >= 300)
if(ai->nullkiller->heroManager->getHeroRole(targetHero) == HeroRole::MAIN)
{
auto reinforcement = ai->nullkiller->armyManager->howManyReinforcementsCanGet(
targetHero,