mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
BattleAI: remove boost for archers while moving as actual stack may be small
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user