1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Nullkiller: stabilisation fixes

This commit is contained in:
Andrii Danylchenko
2021-05-16 14:19:07 +03:00
committed by Andrii Danylchenko
parent 17a960e850
commit b7b615ec70
8 changed files with 234 additions and 21 deletions

View File

@@ -447,7 +447,7 @@ public:
evaluationContext.goldReward = getGoldReward(target, hero);
evaluationContext.armyReward = getArmyReward(target, hero, army, checkGold);
evaluationContext.skillReward = getSkillReward(target, hero, evaluationContext.heroRole);
evaluationContext.strategicalValue = getStrategicalValue(target);
evaluationContext.strategicalValue += getStrategicalValue(target);
evaluationContext.goldCost = getGoldCost(target, hero, army);
evaluationContext.turn = chain.getPath().turn();