mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Added message about damage dealt to permanents to the game log.
This commit is contained in:
parent
c13c305ec5
commit
90fb740945
1 changed files with 5 additions and 0 deletions
|
@ -815,6 +815,11 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
}
|
||||
dealtDamageByThisTurn.add(new MageObjectReference(source, game));
|
||||
}
|
||||
if (source == null) {
|
||||
game.informPlayers(getLogName() + " gets " + damageDone + " damage");
|
||||
} else {
|
||||
game.informPlayers(source.getLogName() + " deals " + damageDone + " damage to " + getLogName());
|
||||
}
|
||||
}
|
||||
}
|
||||
return damageDone;
|
||||
|
|
Loading…
Reference in a new issue