From 91e524303d89ccaca406b13ca0653e3ab4380cfd Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 6 Apr 2023 00:39:16 -0400 Subject: [PATCH] [MOM] Implement Wrenn's Resolve --- Mage.Sets/src/mage/cards/w/WrennsResolve.java | 31 +++++++++++++++++++ .../src/mage/sets/MarchOfTheMachine.java | 1 + 2 files changed, 32 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/w/WrennsResolve.java diff --git a/Mage.Sets/src/mage/cards/w/WrennsResolve.java b/Mage.Sets/src/mage/cards/w/WrennsResolve.java new file mode 100644 index 0000000000..e44c8f5e8a --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WrennsResolve.java @@ -0,0 +1,31 @@ +package mage.cards.w; + +import mage.abilities.effects.common.ExileTopXMayPlayUntilEndOfTurnEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class WrennsResolve extends CardImpl { + + public WrennsResolve(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}"); + + // Exile the top two cards of your library. Until the end of your next turn, you may play those cards. + this.getSpellAbility().addEffect(new ExileTopXMayPlayUntilEndOfTurnEffect(2, false, Duration.UntilEndOfYourNextTurn)); + } + + private WrennsResolve(final WrennsResolve card) { + super(card); + } + + @Override + public WrennsResolve copy() { + return new WrennsResolve(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index 57a3141fbb..6613127840 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -174,6 +174,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Wary Thespian", 215, Rarity.COMMON, mage.cards.w.WaryThespian.class)); cards.add(new SetCardInfo("Wind-Scarred Crag", 276, Rarity.COMMON, mage.cards.w.WindScarredCrag.class)); cards.add(new SetCardInfo("Wrenn and Realmbreaker", 217, Rarity.MYTHIC, mage.cards.w.WrennAndRealmbreaker.class)); + cards.add(new SetCardInfo("Wrenn's Resolve", 173, Rarity.COMMON, mage.cards.w.WrennsResolve.class)); cards.add(new SetCardInfo("Xerex Strobe-Knight", 85, Rarity.UNCOMMON, mage.cards.x.XerexStrobeKnight.class)); cards.add(new SetCardInfo("Yargle and Multani", 256, Rarity.RARE, mage.cards.y.YargleAndMultani.class)); cards.add(new SetCardInfo("Zephyr Winder", 328, Rarity.COMMON, mage.cards.z.ZephyrWinder.class));