* Added message about damage dealt to permanents to the game log.

This commit is contained in:
LevelX2 2016-01-21 16:36:36 +01:00
parent c13c305ec5
commit 90fb740945

View file

@ -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;