From 71f987de2e112e8cf178fe642f94e86678890629 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 17 Aug 2014 02:16:31 +0200 Subject: [PATCH] * Bubbling Cauldron - Fixed that the life loss was wrongly implemented as damage. --- Mage.Sets/src/mage/sets/magic2014/BubblingCauldron.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/magic2014/BubblingCauldron.java b/Mage.Sets/src/mage/sets/magic2014/BubblingCauldron.java index 66a7639cc7..ed2676e076 100644 --- a/Mage.Sets/src/mage/sets/magic2014/BubblingCauldron.java +++ b/Mage.Sets/src/mage/sets/magic2014/BubblingCauldron.java @@ -43,6 +43,7 @@ import mage.constants.Zone; import mage.filter.common.FilterControlledCreaturePermanent; import mage.filter.predicate.mageobject.NamePredicate; import mage.game.Game; +import mage.players.Player; import mage.target.common.TargetControlledCreaturePermanent; /** @@ -96,7 +97,8 @@ class BubblingCauldronEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { int damage = 0; for (UUID opponentId: game.getOpponents(source.getControllerId())) { - damage += game.getPlayer(opponentId).damage(4, source.getSourceId(), game, false, true); + Player opponent = game.getPlayer(opponentId); + damage += opponent.loseLife(4, game); } game.getPlayer(source.getControllerId()).gainLife(damage, game); return true; @@ -107,4 +109,4 @@ class BubblingCauldronEffect extends OneShotEffect { return new BubblingCauldronEffect(this); } -} \ No newline at end of file +}