From 2dda2092520a51c995fbc334397cb3d7213862de Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 17 Dec 2019 08:19:32 -0500 Subject: [PATCH] fixed a few issues with Ashiok, Nightmare Muse --- Mage.Sets/src/mage/cards/a/AshiokNightmareMuse.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/a/AshiokNightmareMuse.java b/Mage.Sets/src/mage/cards/a/AshiokNightmareMuse.java index 00d6032d027..595441b649f 100644 --- a/Mage.Sets/src/mage/cards/a/AshiokNightmareMuse.java +++ b/Mage.Sets/src/mage/cards/a/AshiokNightmareMuse.java @@ -22,8 +22,6 @@ import mage.target.common.TargetNonlandPermanent; import java.util.Objects; import java.util.UUID; -import static mage.constants.Outcome.Benefit; - /** * @author TheElk801 */ @@ -61,7 +59,7 @@ public final class AshiokNightmareMuse extends CardImpl { class AshiokNightmareMuseBounceEffect extends OneShotEffect { AshiokNightmareMuseBounceEffect() { - super(Benefit); + super(Outcome.Discard); staticText = "return target nonland permanent to its owner's hand, " + "then that player exiles a card from their hand"; } @@ -78,7 +76,7 @@ class AshiokNightmareMuseBounceEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { Permanent permanent = game.getPermanent(source.getFirstTarget()); - Player player = game.getPlayer(game.getControllerId(source.getFirstTarget())); + Player player = game.getPlayer(game.getOwnerId(source.getFirstTarget())); if (permanent == null || player == null) { return false; } @@ -103,7 +101,7 @@ class AshiokNightmareMuseCastEffect extends OneShotEffect { } AshiokNightmareMuseCastEffect() { - super(Benefit); + super(Outcome.Discard); staticText = "You may cast up to three face-up cards your opponents own from exile without paying their mana costs."; }