Browse Source

BattleAI: remove boost for archers while moving as actual stack may be small

Andrii Danylchenko 1 year ago
parent
commit
337f99942b
1 changed files with 0 additions and 3 deletions
  1. 0 3
      AI/BattleAI/BattleExchangeVariant.cpp

+ 0 - 3
AI/BattleAI/BattleExchangeVariant.cpp

@@ -352,9 +352,6 @@ MoveTarget BattleExchangeEvaluator::findMoveTowardsUnreachable(
 		auto speedRatio = speed / static_cast<float>(enemySpeed);
 		auto speedRatio = speed / static_cast<float>(enemySpeed);
 		auto multiplier = speedRatio > 1 ? 1 : speedRatio;
 		auto multiplier = speedRatio > 1 ? 1 : speedRatio;
 
 
-		if(enemy->canShoot())
-			multiplier *= 1.5f;
-
 		for(auto & hex : hexes)
 		for(auto & hex : hexes)
 		{
 		{
 			// FIXME: provide distance info for Jousting bonus
 			// FIXME: provide distance info for Jousting bonus