mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
#1102 - NKAI: one more freeze - no mains with strong army
This commit is contained in:
parent
c5cf0e4086
commit
3676152644
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user