From 4c2570574a4a8c2aec5426038ac823cda0a59965 Mon Sep 17 00:00:00 2001 From: nickmyers Date: Thu, 26 Feb 2015 18:07:15 -0600 Subject: [PATCH] Edited AuraThief.java based on suggestions from LevelX2 --- Mage.Sets/src/mage/sets/urzasdestiny/AuraThief.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/urzasdestiny/AuraThief.java b/Mage.Sets/src/mage/sets/urzasdestiny/AuraThief.java index 556fb43250..380d139410 100644 --- a/Mage.Sets/src/mage/sets/urzasdestiny/AuraThief.java +++ b/Mage.Sets/src/mage/sets/urzasdestiny/AuraThief.java @@ -18,6 +18,7 @@ import mage.constants.CardType; import mage.constants.Duration; import mage.constants.Outcome; import mage.constants.Rarity; +import mage.filter.common.FilterEnchantmentPermanent; import mage.game.Game; import mage.game.permanent.Permanent; import mage.target.targetpointer.FixedTarget; @@ -59,7 +60,7 @@ class AuraThiefDiesTriggeredEffect extends OneShotEffect { public AuraThiefDiesTriggeredEffect() { super(Outcome.Benefit); - this.staticText = "gain control of all enchantments"; + this.staticText = "gain control of all enchantments. (You don't get to move Auras.)"; } public AuraThiefDiesTriggeredEffect(final AuraThiefDiesTriggeredEffect effect) { @@ -74,8 +75,9 @@ class AuraThiefDiesTriggeredEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { boolean ret = false; - ContinuousEffect gainControl = new GainControlTargetEffect(Duration.EndOfGame); - for(Permanent enchantment : game.getBattlefield().getAllActivePermanents(CardType.ENCHANTMENT)) { + // ContinuousEffect gainControl = new GainControlTargetEffect(Duration.EndOfGame); + for(Permanent enchantment : game.getBattlefield().getActivePermanents(new FilterEnchantmentPermanent(), source.getControllerId(), source.getControllerId(), game)) { + ContinuousEffect gainControl = new GainControlTargetEffect(Duration.EndOfGame); gainControl.setTargetPointer(new FixedTarget(enchantment.getId())); game.addEffect(gainControl, source); ret = true;