* Unravel the AEther - Fixed that the target was handled not targeted.

This commit is contained in:
LevelX2 2015-08-10 09:29:44 +02:00
parent dd6f0f86a0
commit cbe49333bb

View file

@ -60,10 +60,9 @@ public class UnravelTheAEther extends CardImpl {
super(ownerId, 143, "Unravel the AEther", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{G}"); super(ownerId, 143, "Unravel the AEther", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{G}");
this.expansionSetCode = "BNG"; this.expansionSetCode = "BNG";
// Choose target artifact or enchantment. Its owner shuffles it into his or her library. // Choose target artifact or enchantment. Its owner shuffles it into his or her library.
this.getSpellAbility().addEffect(new UnravelTheAEtherShuffleIntoLibraryEffect()); 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); this.getSpellAbility().addTarget(target);
} }
@ -76,6 +75,7 @@ public class UnravelTheAEther extends CardImpl {
return new UnravelTheAEther(this); return new UnravelTheAEther(this);
} }
} }
class UnravelTheAEtherShuffleIntoLibraryEffect extends OneShotEffect { class UnravelTheAEtherShuffleIntoLibraryEffect extends OneShotEffect {
public UnravelTheAEtherShuffleIntoLibraryEffect() { public UnravelTheAEtherShuffleIntoLibraryEffect() {