From d9248d620a382924969b9f9f9af5913ecd2a36db Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 23 Aug 2023 09:38:08 -0400 Subject: [PATCH] [WOE] Implement Succumb to the Cold --- .../src/mage/cards/s/SuccumbToTheCold.java | 35 +++++++++++++++++++ Mage.Sets/src/mage/sets/WildsOfEldraine.java | 1 + 2 files changed, 36 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SuccumbToTheCold.java diff --git a/Mage.Sets/src/mage/cards/s/SuccumbToTheCold.java b/Mage.Sets/src/mage/cards/s/SuccumbToTheCold.java new file mode 100644 index 00000000000..bc91f95ad68 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SuccumbToTheCold.java @@ -0,0 +1,35 @@ +package mage.cards.s; + +import mage.abilities.effects.common.TapTargetEffect; +import mage.abilities.effects.common.counter.AddCountersTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.counters.CounterType; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SuccumbToTheCold extends CardImpl { + + public SuccumbToTheCold(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}"); + + // Tap one or two target creatures an opponent controls. Put a stun counter on each of them. + this.getSpellAbility().addEffect(new TapTargetEffect("tap one or two target creatures an opponent controls")); + this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.STUN.createInstance()).setText("put a stun counter on each of them")); + this.getSpellAbility().addTarget(new TargetOpponentsCreaturePermanent(1, 2)); + } + + private SuccumbToTheCold(final SuccumbToTheCold card) { + super(card); + } + + @Override + public SuccumbToTheCold copy() { + return new SuccumbToTheCold(this); + } +} diff --git a/Mage.Sets/src/mage/sets/WildsOfEldraine.java b/Mage.Sets/src/mage/sets/WildsOfEldraine.java index 2c42702bd6e..14aec88a73b 100644 --- a/Mage.Sets/src/mage/sets/WildsOfEldraine.java +++ b/Mage.Sets/src/mage/sets/WildsOfEldraine.java @@ -157,6 +157,7 @@ public final class WildsOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Stormkeld Vanguard", 187, Rarity.UNCOMMON, mage.cards.s.StormkeldVanguard.class)); cards.add(new SetCardInfo("Storyteller Pixie", 313, Rarity.UNCOMMON, mage.cards.s.StorytellerPixie.class)); cards.add(new SetCardInfo("Stroke of Midnight", 33, Rarity.UNCOMMON, mage.cards.s.StrokeOfMidnight.class)); + cards.add(new SetCardInfo("Succumb to the Cold", 72, Rarity.UNCOMMON, mage.cards.s.SuccumbToTheCold.class)); cards.add(new SetCardInfo("Swamp", 264, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Sweettooth Witch", 111, Rarity.COMMON, mage.cards.s.SweettoothWitch.class)); cards.add(new SetCardInfo("Syr Armont, the Redeemer", 214, Rarity.UNCOMMON, mage.cards.s.SyrArmontTheRedeemer.class));