From 3b897f04d806e7a3449c172eebc267e37a439764 Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 28 Mar 2019 14:25:44 -0500 Subject: [PATCH] - little fixes Mindstorm Crown --- Mage.Sets/src/mage/cards/m/MindstormCrown.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Mage.Sets/src/mage/cards/m/MindstormCrown.java b/Mage.Sets/src/mage/cards/m/MindstormCrown.java index 1476dbf2964..61b16ec2573 100644 --- a/Mage.Sets/src/mage/cards/m/MindstormCrown.java +++ b/Mage.Sets/src/mage/cards/m/MindstormCrown.java @@ -1,4 +1,3 @@ - package mage.cards.m; import java.util.UUID; @@ -44,7 +43,7 @@ class MindstormCrownEffect extends OneShotEffect { MindstormCrownEffect() { super(Outcome.Benefit); - this.staticText = ""; + this.staticText = "draw a card if you had no cards in hand at the beginning of this turn. If you had a card in hand, {this} deals 1 damage to you"; } MindstormCrownEffect(final MindstormCrownEffect effect) { @@ -58,17 +57,18 @@ class MindstormCrownEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { - Player player = game.getPlayer(source.getControllerId()); + Player controller = game.getPlayer(source.getControllerId()); Permanent permanent = game.getPermanentOrLKIBattlefield(source.getSourceId()); - if (player == null) { + if (controller == null) { return false; } MindstormCrownWatcher watcher = game.getState().getWatcher(MindstormCrownWatcher.class); - if (watcher != null && watcher.getCardsInHandCount() == 0) { - player.drawCards(1, game); + if (watcher != null + && watcher.getCardsInHandCount() == 0) { + controller.drawCards(1, game); } else { if (permanent != null) { - player.damage(2, permanent.getId(), game, false, true); + controller.damage(1, permanent.getId(), game, false, true); } } return true;