[MID] Teferi, Who Slows the Sunset - Fixed targets on +1 ability (fixes #8423)

This commit is contained in:
Daniel Bomar 2021-10-31 08:28:58 -05:00
parent f3397dcf4f
commit 105e1f8ed9
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 7 additions and 3 deletions

View file

@ -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.
Ability ability = new LoyaltyAbility(new TeferiWhoSlowsTheSunsetEffect(), 1);
ability.addEffect(new GainLifeEffect(2));
ability.addTarget(new TargetArtifactPermanent());
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetLandPermanent());
ability.addTarget(new TargetArtifactPermanent(0, 1));
ability.addTarget(new TargetCreaturePermanent(0, 1));
ability.addTarget(new TargetLandPermanent(0, 1));
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.

View file

@ -23,6 +23,10 @@ public class TargetLandPermanent extends TargetPermanent {
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) {
super(minNumTargets, maxNumTargets, filter, notTarget);
}