[EOE] Implement All-Fates Stalker

This commit is contained in:
theelk801 2025-07-11 13:08:01 -04:00
parent dd95dc34f3
commit ac633cf57e
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,55 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.ExileUntilSourceLeavesEffect;
import mage.abilities.keyword.WarpAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.Predicates;
import mage.target.TargetPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AllFatesStalker extends CardImpl {
private static final FilterPermanent filter = new FilterCreaturePermanent("non-Assassin creature");
static {
filter.add(Predicates.not(SubType.ASSASSIN.getPredicate()));
}
public AllFatesStalker(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
this.subtype.add(SubType.DRIX);
this.subtype.add(SubType.ASSASSIN);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// When this creature enters, exile up to one target non-Assassin creature until this creature leaves the battlefield.
Ability ability = new EntersBattlefieldTriggeredAbility(new ExileUntilSourceLeavesEffect());
ability.addTarget(new TargetPermanent(0, 1, filter));
this.addAbility(ability);
// Warp {1}{W}
this.addAbility(new WarpAbility(this, "{1}{W}"));
}
private AllFatesStalker(final AllFatesStalker card) {
super(card);
}
@Override
public AllFatesStalker copy() {
return new AllFatesStalker(this);
}
}

View file

@ -28,6 +28,7 @@ public final class EdgeOfEternities extends ExpansionSet {
cards.add(new SetCardInfo("Adagia, Windswept Bastion", 277, Rarity.MYTHIC, mage.cards.a.AdagiaWindsweptBastion.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Adagia, Windswept Bastion", 372, Rarity.MYTHIC, mage.cards.a.AdagiaWindsweptBastion.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("All-Fates Scroll", 234, Rarity.UNCOMMON, mage.cards.a.AllFatesScroll.class));
cards.add(new SetCardInfo("All-Fates Stalker", 3, Rarity.UNCOMMON, mage.cards.a.AllFatesStalker.class));
cards.add(new SetCardInfo("Alpharael, Dreaming Acolyte", 212, Rarity.UNCOMMON, mage.cards.a.AlpharaelDreamingAcolyte.class));
cards.add(new SetCardInfo("Alpharael, Stonechosen", 292, Rarity.MYTHIC, mage.cards.a.AlpharaelStonechosen.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Alpharael, Stonechosen", 87, Rarity.MYTHIC, mage.cards.a.AlpharaelStonechosen.class, NON_FULL_USE_VARIOUS));