1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Merge pull request #279 from dydzio0614/patch-6

Approved, thanks!
This commit is contained in:
DjWarmonger 2017-02-10 09:04:22 +01:00 committed by GitHub
commit 3316136ae9

View File

@ -3953,7 +3953,7 @@ bool CGameHandler::makeBattleAction(BattleAction &ba)
}
//counterattack
if (destinationStack
if (i == 0 && destinationStack
&& !stack->hasBonusOfType(Bonus::BLOCKS_RETALIATION)
&& destinationStack->ableToRetaliate()
&& stack->alive()) //attacker may have died (fire shield)