[FDN] Wardens Of The Cycle

This commit is contained in:
Steven Knipe 2024-11-05 02:01:08 -08:00
parent d4008728ed
commit e4ae63f085
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.w;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.condition.common.MorbidCondition;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
import mage.abilities.hint.common.MorbidHint;
import mage.abilities.triggers.BeginningOfEndStepTriggeredAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.AbilityWord;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author notgreat
*/
public final class WardensOfTheCycle extends CardImpl {
public WardensOfTheCycle(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}{G}{G}");
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.WARLOCK);
this.power = new MageInt(3);
this.toughness = new MageInt(4);
// Morbid -- At the beginning of your end step, if a creature died this turn, choose one --
// * You gain 2 life.
Ability ability = new BeginningOfEndStepTriggeredAbility(new GainLifeEffect(2))
.withInterveningIf(MorbidCondition.instance).setAbilityWord(AbilityWord.MORBID).addHint(MorbidHint.instance);
// * You draw a card and you lose 1 life.
Mode mode = new Mode(new DrawCardSourceControllerEffect(1));
mode.addEffect(new LoseLifeSourceControllerEffect(1).concatBy("and"));
ability.addMode(mode);
this.addAbility(ability);
}
private WardensOfTheCycle(final WardensOfTheCycle card) {
super(card);
}
@Override
public WardensOfTheCycle copy() {
return new WardensOfTheCycle(this);
}
}

View file

@ -520,6 +520,7 @@ public final class Foundations extends ExpansionSet {
cards.add(new SetCardInfo("Vizier of the Menagerie", 649, Rarity.MYTHIC, mage.cards.v.VizierOfTheMenagerie.class));
cards.add(new SetCardInfo("Volley Veteran", 550, Rarity.UNCOMMON, mage.cards.v.VolleyVeteran.class));
cards.add(new SetCardInfo("Voracious Greatshark", 600, Rarity.RARE, mage.cards.v.VoraciousGreatshark.class));
cards.add(new SetCardInfo("Wardens of the Cycle", 125, Rarity.UNCOMMON, mage.cards.w.WardensOfTheCycle.class));
cards.add(new SetCardInfo("Wary Thespian", 235, Rarity.COMMON, mage.cards.w.WaryThespian.class));
cards.add(new SetCardInfo("Wildborn Preserver", 650, Rarity.RARE, mage.cards.w.WildbornPreserver.class));
cards.add(new SetCardInfo("Wildheart Invoker", 561, Rarity.COMMON, mage.cards.w.WildheartInvoker.class));