From cddae049d69e93b06a6b25f53f704aa3e9d23d0c Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 4 Nov 2017 11:51:00 -0400 Subject: [PATCH] fixed life loss triggers triggering off of 0 life --- Mage/src/main/java/mage/players/PlayerImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/players/PlayerImpl.java b/Mage/src/main/java/mage/players/PlayerImpl.java index 253f6a3d79..7168fcbcd6 100644 --- a/Mage/src/main/java/mage/players/PlayerImpl.java +++ b/Mage/src/main/java/mage/players/PlayerImpl.java @@ -1751,7 +1751,9 @@ public abstract class PlayerImpl implements Player, Serializable { if (!game.isSimulation()) { game.informPlayers(this.getLogName() + " loses " + event.getAmount() + " life"); } - game.fireEvent(new GameEvent(GameEvent.EventType.LOST_LIFE, playerId, playerId, playerId, amount, atCombat)); + if (amount > 0) { + game.fireEvent(new GameEvent(GameEvent.EventType.LOST_LIFE, playerId, playerId, playerId, amount, atCombat)); + } return amount; } return 0;