mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Removed odd "no shoting penalty" bonus. It seems to be confused with No Distance Penalty.
This commit is contained in:
@ -607,7 +607,7 @@ TDmgRange BattleInfo::calculateDmgRange( const CStack* attacker, const CStack* d
|
||||
};
|
||||
|
||||
//wall / distance penalty + advanced air shield
|
||||
if (shooting && !NBonus::hasOfType(attackerHero, Bonus::NO_SHOTING_PENALTY) && (
|
||||
if (shooting && !NBonus::hasOfType(attackerHero, Bonus::NO_DISTANCE_PENALTY) && (
|
||||
hasDistancePenalty(attacker, defender->position) || hasWallPenalty(attacker, defender->position) ||
|
||||
HLP::hasAdvancedAirShield(defender) )
|
||||
)
|
||||
|
Reference in New Issue
Block a user