mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[MID] Teferi, Who Slows the Sunset - Fixed targets on +1 ability (fixes #8423)
This commit is contained in:
parent
f3397dcf4f
commit
105e1f8ed9
2 changed files with 7 additions and 3 deletions
|
@ -40,9 +40,9 @@ public final class TeferiWhoSlowsTheSunset extends CardImpl {
|
||||||
// +1: Choose up to one target artifact, up to one target creature, and up to one target land. Untap the chosen permanents you control. Tap the chosen permanents you don't control. You gain 2 life.
|
// +1: Choose up to one target artifact, up to one target creature, and up to one target land. Untap the chosen permanents you control. Tap the chosen permanents you don't control. You gain 2 life.
|
||||||
Ability ability = new LoyaltyAbility(new TeferiWhoSlowsTheSunsetEffect(), 1);
|
Ability ability = new LoyaltyAbility(new TeferiWhoSlowsTheSunsetEffect(), 1);
|
||||||
ability.addEffect(new GainLifeEffect(2));
|
ability.addEffect(new GainLifeEffect(2));
|
||||||
ability.addTarget(new TargetArtifactPermanent());
|
ability.addTarget(new TargetArtifactPermanent(0, 1));
|
||||||
ability.addTarget(new TargetCreaturePermanent());
|
ability.addTarget(new TargetCreaturePermanent(0, 1));
|
||||||
ability.addTarget(new TargetLandPermanent());
|
ability.addTarget(new TargetLandPermanent(0, 1));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
||||||
// −2: Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
|
// −2: Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
|
||||||
|
|
|
@ -23,6 +23,10 @@ public class TargetLandPermanent extends TargetPermanent {
|
||||||
this(numTargets, numTargets, StaticFilters.FILTER_LAND, false);
|
this(numTargets, numTargets, StaticFilters.FILTER_LAND, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TargetLandPermanent(int numTargets, int maxNumTargets) {
|
||||||
|
this(numTargets, maxNumTargets, StaticFilters.FILTER_LAND, false);
|
||||||
|
}
|
||||||
|
|
||||||
public TargetLandPermanent(int minNumTargets, int maxNumTargets, FilterLandPermanent filter, boolean notTarget) {
|
public TargetLandPermanent(int minNumTargets, int maxNumTargets, FilterLandPermanent filter, boolean notTarget) {
|
||||||
super(minNumTargets, maxNumTargets, filter, notTarget);
|
super(minNumTargets, maxNumTargets, filter, notTarget);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue