diff --git a/Mage.Sets/src/mage/cards/s/StalwartValkyrie.java b/Mage.Sets/src/mage/cards/s/StalwartValkyrie.java new file mode 100644 index 0000000000..017e5fd4f4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/StalwartValkyrie.java @@ -0,0 +1,48 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.costs.AlternativeCostSourceAbility; +import mage.abilities.costs.common.ExileFromGraveCost; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.StaticFilters; +import mage.target.common.TargetCardInYourGraveyard; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class StalwartValkyrie extends CardImpl { + + public StalwartValkyrie(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}"); + + this.subtype.add(SubType.ANGEL); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // You may pay {1}{W} and exile a creature card from your graveyard rather than pay this spell's mana cost. + Ability ability = new AlternativeCostSourceAbility(new ManaCostsImpl<>("{1}{W}")); + ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD_CREATURE_YOUR_GRAVEYARD))); + this.addAbility(ability); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + } + + private StalwartValkyrie(final StalwartValkyrie card) { + super(card); + } + + @Override + public StalwartValkyrie copy() { + return new StalwartValkyrie(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index 349a9a26eb..743b87679c 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -251,6 +251,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("Spectral Steel", 30, Rarity.UNCOMMON, mage.cards.s.SpectralSteel.class)); cards.add(new SetCardInfo("Spirit of the Aldergard", 195, Rarity.UNCOMMON, mage.cards.s.SpiritOfTheAldergard.class)); cards.add(new SetCardInfo("Squash", 152, Rarity.COMMON, mage.cards.s.Squash.class)); + cards.add(new SetCardInfo("Stalwart Valkyrie", 31, Rarity.COMMON, mage.cards.s.StalwartValkyrie.class)); cards.add(new SetCardInfo("Starnheim Aspirant", 380, Rarity.UNCOMMON, mage.cards.s.StarnheimAspirant.class)); cards.add(new SetCardInfo("Story Seeker", 34, Rarity.COMMON, mage.cards.s.StorySeeker.class)); cards.add(new SetCardInfo("Strategic Planning", 77, Rarity.COMMON, mage.cards.s.StrategicPlanning.class));