mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[IKO] Gust of Wind - fixed wrong target;
This commit is contained in:
parent
9bcdac491f
commit
950ed8bc51
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public final class GustOfWind extends CardImpl {
|
|||
private static final FilterPermanent filter
|
||||
= new FilterControlledPermanent("you control a creature with flying");
|
||||
private static final FilterPermanent filter2
|
||||
= new FilterNonlandPermanent("nonland permanent an opponent controls");
|
||||
= new FilterNonlandPermanent("nonland permanent you don't control");
|
||||
|
||||
static {
|
||||
filter.add(new AbilityPredicate(FlyingAbility.class));
|
||||
|
@ -47,7 +47,7 @@ public final class GustOfWind extends CardImpl {
|
|||
|
||||
// Return target nonland permanent you don't control to its owner's hand.
|
||||
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter2));
|
||||
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
|
||||
|
|
Loading…
Reference in a new issue