From ca8c048d98e991c6b57795e8fa0305f49a0de960 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 9 Jun 2023 18:45:44 -0400 Subject: [PATCH] [LTR] Implement Now for Wrath, Now for Ruin! --- .../mage/cards/n/NowForWrathNowForRuin.java | 43 +++++++++++++++++++ .../TheLordOfTheRingsTalesOfMiddleEarth.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/n/NowForWrathNowForRuin.java diff --git a/Mage.Sets/src/mage/cards/n/NowForWrathNowForRuin.java b/Mage.Sets/src/mage/cards/n/NowForWrathNowForRuin.java new file mode 100644 index 00000000000..2afbff1637b --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NowForWrathNowForRuin.java @@ -0,0 +1,43 @@ +package mage.cards.n; + +import mage.abilities.effects.common.continuous.GainAbilityAllEffect; +import mage.abilities.effects.common.counter.AddCountersAllEffect; +import mage.abilities.effects.keyword.TheRingTemptsYouEffect; +import mage.abilities.keyword.VigilanceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.counters.CounterType; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class NowForWrathNowForRuin extends CardImpl { + + public NowForWrathNowForRuin(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}"); + + // Put a +1/+1 counter on each creature you control. They gain vigilance until end of turn. The Ring tempts you. + this.getSpellAbility().addEffect(new AddCountersAllEffect( + CounterType.P1P1.createInstance(), StaticFilters.FILTER_CONTROLLED_CREATURE + )); + this.getSpellAbility().addEffect(new GainAbilityAllEffect( + VigilanceAbility.getInstance(), Duration.EndOfTurn, + StaticFilters.FILTER_CONTROLLED_CREATURE + ).setText("They gain vigilance until end of turn")); + this.getSpellAbility().addEffect(new TheRingTemptsYouEffect()); + } + + private NowForWrathNowForRuin(final NowForWrathNowForRuin card) { + super(card); + } + + @Override + public NowForWrathNowForRuin copy() { + return new NowForWrathNowForRuin(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java b/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java index 469fbebece9..054b5152bbb 100644 --- a/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java +++ b/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java @@ -110,6 +110,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet { cards.add(new SetCardInfo("Mushroom Watchdogs", 180, Rarity.COMMON, mage.cards.m.MushroomWatchdogs.class)); cards.add(new SetCardInfo("Nazgul", 100, Rarity.UNCOMMON, mage.cards.n.Nazgul.class)); cards.add(new SetCardInfo("Nimble Hobbit", 23, Rarity.COMMON, mage.cards.n.NimbleHobbit.class)); + cards.add(new SetCardInfo("Now for Wrath, Now for Ruin!", 24, Rarity.COMMON, mage.cards.n.NowForWrathNowForRuin.class)); cards.add(new SetCardInfo("Oath of the Grey Host", 101, Rarity.UNCOMMON, mage.cards.o.OathOfTheGreyHost.class)); cards.add(new SetCardInfo("Oliphaunt", 139, Rarity.COMMON, mage.cards.o.Oliphaunt.class)); cards.add(new SetCardInfo("Olog-hai Crusher", 140, Rarity.COMMON, mage.cards.o.OlogHaiCrusher.class));