From cbe49333bb99da3d3c5c15f2d100d5ab42808655 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 10 Aug 2015 09:29:44 +0200 Subject: [PATCH] * Unravel the AEther - Fixed that the target was handled not targeted. --- .../src/mage/sets/bornofthegods/UnravelTheAEther.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/bornofthegods/UnravelTheAEther.java b/Mage.Sets/src/mage/sets/bornofthegods/UnravelTheAEther.java index 94705d2208..fd87b5d72d 100644 --- a/Mage.Sets/src/mage/sets/bornofthegods/UnravelTheAEther.java +++ b/Mage.Sets/src/mage/sets/bornofthegods/UnravelTheAEther.java @@ -53,17 +53,16 @@ public class UnravelTheAEther extends CardImpl { static { filter.add(Predicates.or(new CardTypePredicate(CardType.ARTIFACT), - new CardTypePredicate(CardType.ENCHANTMENT))); + new CardTypePredicate(CardType.ENCHANTMENT))); } public UnravelTheAEther(UUID ownerId) { super(ownerId, 143, "Unravel the AEther", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{G}"); this.expansionSetCode = "BNG"; - // Choose target artifact or enchantment. Its owner shuffles it into his or her library. this.getSpellAbility().addEffect(new UnravelTheAEtherShuffleIntoLibraryEffect()); - Target target = new TargetPermanent(1,1,filter,true); + Target target = new TargetPermanent(1, 1, filter, false); this.getSpellAbility().addTarget(target); } @@ -76,6 +75,7 @@ public class UnravelTheAEther extends CardImpl { return new UnravelTheAEther(this); } } + class UnravelTheAEtherShuffleIntoLibraryEffect extends OneShotEffect { public UnravelTheAEtherShuffleIntoLibraryEffect() { @@ -96,7 +96,7 @@ class UnravelTheAEtherShuffleIntoLibraryEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source)); if (permanent != null) { - if (permanent.moveToZone(Zone.LIBRARY, source.getSourceId(), game, true) ) { + if (permanent.moveToZone(Zone.LIBRARY, source.getSourceId(), game, true)) { game.getPlayer(permanent.getOwnerId()).shuffleLibrary(game); return true; }