fixed Karn's Temporal Sundering targeting

This commit is contained in:
Evan Kranzler 2018-04-25 11:06:37 -04:00
parent 7cddc3d03a
commit 4ba5e4230d

View file

@ -18,8 +18,7 @@ import mage.target.TargetPlayer;
import mage.target.common.TargetNonlandPermanent;
/**
* @author JRHerlehy
* Created on 4/8/18.
* @author JRHerlehy Created on 4/8/18.
*/
public class KarnsTemporalSundering extends CardImpl {
@ -33,7 +32,7 @@ public class KarnsTemporalSundering extends CardImpl {
// Target player takes an extra turn after this one. Return up to one target nonland permanent to its owners hand. Exile Karns Temporal Sundering.
this.getSpellAbility().addEffect(new KarnsTemporalSunderingEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetNonlandPermanent());
this.getSpellAbility().addTarget(new TargetNonlandPermanent(0, 1, false));
this.getSpellAbility().addEffect(ExileSpellEffect.getInstance());
}
@ -82,4 +81,4 @@ class KarnsTemporalSunderingEffect extends OneShotEffect {
public KarnsTemporalSunderingEffect copy() {
return new KarnsTemporalSunderingEffect(this);
}
}
}