mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Improvement for multiple-hex effects.
TODO: Attacker must know exact attacked tile, not only the stack.
This commit is contained in:
@@ -792,7 +792,7 @@ void CPlayerInterface::battleStacksAttacked(const std::vector<BattleStackAttacke
|
||||
const CStack *attacker = cb->battleGetStackByID(i->attackerID, false);
|
||||
if(i->isEffect() && i->effect != 12) //and not armageddon
|
||||
{
|
||||
if (defender != NULL)
|
||||
if (defender && !i->isSecondary())
|
||||
battleInt->displayEffect(i->effect, defender->position);
|
||||
}
|
||||
SStackAttackedInfo to_put = {defender, i->damageAmount, i->killedAmount, attacker, LOCPLINT->curAction->actionType==7, i->killed()};
|
||||
|
||||
Reference in New Issue
Block a user