From d231eee02469b60d1e7d09cf7c671b9d3890be33 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 1 Mar 2015 18:24:31 +0100 Subject: [PATCH] * Comet Storm - Fixed wrong damage handling for target players. --- Mage.Sets/src/mage/sets/worldwake/CometStorm.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/sets/worldwake/CometStorm.java b/Mage.Sets/src/mage/sets/worldwake/CometStorm.java index 4bcf99dbe5..c34084ceb0 100644 --- a/Mage.Sets/src/mage/sets/worldwake/CometStorm.java +++ b/Mage.Sets/src/mage/sets/worldwake/CometStorm.java @@ -53,8 +53,6 @@ public class CometStorm extends CardImpl { super(ownerId, 76, "Comet Storm", Rarity.MYTHIC, new CardType[]{CardType.INSTANT}, "{X}{R}{R}"); this.expansionSetCode = "WWK"; - this.color.setRed(true); - // Multikicker {1} this.addAbility(new MultikickerAbility("{1}")); @@ -96,8 +94,8 @@ class CometStormEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { int damage = source.getManaCostsToPay().getX(); - Player you = game.getPlayer(source.getControllerId()); - if (you != null) { + Player controller = game.getPlayer(source.getControllerId()); + if (controller != null) { for (UUID uuid : this.getTargetPointer().getTargets(game, source)) { Permanent permanent = game.getPermanent(uuid); Player player = game.getPlayer(uuid); @@ -105,7 +103,7 @@ class CometStormEffect extends OneShotEffect { permanent.damage(damage, source.getSourceId(), game, false, true); } if (player != null) { - player.damage(damage, source.getSourceId(), game, true, false); + player.damage(damage, source.getSourceId(), game, false, true); } } return true;