From 94435d5e9d357cea2eff353e75942d7c75517119 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Wed, 17 Oct 2012 17:16:01 +0200 Subject: [PATCH] Small fix that the player itself doesn't count as opponent --- .../abilities/dynamicvalue/common/OpponentsLostLifeCount.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/dynamicvalue/common/OpponentsLostLifeCount.java b/Mage/src/mage/abilities/dynamicvalue/common/OpponentsLostLifeCount.java index c32c6a1d9db..b0974300147 100644 --- a/Mage/src/mage/abilities/dynamicvalue/common/OpponentsLostLifeCount.java +++ b/Mage/src/mage/abilities/dynamicvalue/common/OpponentsLostLifeCount.java @@ -53,7 +53,9 @@ public class OpponentsLostLifeCount implements DynamicValue { if (watcher != null && you != null) { int amountLifeLost = 0; for(UUID opponent: you.getInRange()) { - amountLifeLost += watcher.getLiveLost(opponent); + if (!opponent.equals(controllerId)) { + amountLifeLost += watcher.getLiveLost(opponent); + } } return amountLifeLost; }