From 317d07215cba8b24cf0ec779b62d9f5db4697a42 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 14 Mar 2014 13:57:19 +0100 Subject: [PATCH] * Game log - Added info to log if player loses life. --- Mage/src/mage/players/PlayerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage/src/mage/players/PlayerImpl.java b/Mage/src/mage/players/PlayerImpl.java index 66b0b8b227..9f49f78025 100644 --- a/Mage/src/mage/players/PlayerImpl.java +++ b/Mage/src/mage/players/PlayerImpl.java @@ -1277,6 +1277,7 @@ public abstract class PlayerImpl> implements Player, Ser GameEvent event = new GameEvent(GameEvent.EventType.LOSE_LIFE, playerId, playerId, playerId, amount, false); if (!game.replaceEvent(event)) { this.life -= event.getAmount(); + game.informPlayers(new StringBuilder(this.getName()).append(" loses ").append(event.getAmount()).append(" life").toString()); game.fireEvent(GameEvent.getEvent(GameEvent.EventType.LOST_LIFE, playerId, playerId, playerId, amount)); return amount; }