Explorar o código

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

Andrii Danylchenko hai 1 ano
pai
achega
337f99942b
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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 multiplier = speedRatio > 1 ? 1 : speedRatio;
 
-		if(enemy->canShoot())
-			multiplier *= 1.5f;
-
 		for(auto & hex : hexes)
 		{
 			// FIXME: provide distance info for Jousting bonus