From 756e0b40b0a90180daca666210e7f78ea6517f4b Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 13 Nov 2021 09:39:46 -0500 Subject: [PATCH] [VOC] Implemented Thundering Mightmare --- .../src/mage/cards/t/ThunderingMightmare.java | 50 +++++++++++++++++++ .../src/mage/sets/CrimsonVowCommander.java | 1 + Utils/keywords.txt | 2 +- 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/t/ThunderingMightmare.java diff --git a/Mage.Sets/src/mage/cards/t/ThunderingMightmare.java b/Mage.Sets/src/mage/cards/t/ThunderingMightmare.java new file mode 100644 index 0000000000..fa48a7b0c4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThunderingMightmare.java @@ -0,0 +1,50 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.common.SpellCastOpponentTriggeredAbility; +import mage.abilities.effects.common.continuous.GainAbilityPairedEffect; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.SoulbondAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.counters.CounterType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ThunderingMightmare extends CardImpl { + + public ThunderingMightmare(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}"); + + this.subtype.add(SubType.HORSE); + this.subtype.add(SubType.SPIRIT); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Soulbond + this.addAbility(new SoulbondAbility()); + + // As long as Thundering Mightmare is paired with another creature, each of those creatures has "Whenever an opponent casts a spell, put a +1/+1 counter on this creature." + this.addAbility(new SimpleStaticAbility(new GainAbilityPairedEffect(new SpellCastOpponentTriggeredAbility( + new AddCountersSourceEffect(CounterType.P1P1.createInstance()) + .setText("put a +1/+1 counter on this creature"), + false + ), "As long as {this} is paired with another creature, each of those creatures " + + "has \"Whenever an opponent casts a spell, put a +1/+1 counter on this creature.\""))); + } + + private ThunderingMightmare(final ThunderingMightmare card) { + super(card); + } + + @Override + public ThunderingMightmare copy() { + return new ThunderingMightmare(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CrimsonVowCommander.java b/Mage.Sets/src/mage/sets/CrimsonVowCommander.java index 984858f02d..098f08990d 100644 --- a/Mage.Sets/src/mage/sets/CrimsonVowCommander.java +++ b/Mage.Sets/src/mage/sets/CrimsonVowCommander.java @@ -133,6 +133,7 @@ public final class CrimsonVowCommander extends ExpansionSet { cards.add(new SetCardInfo("Temple of Enlightenment", 185, Rarity.RARE, mage.cards.t.TempleOfEnlightenment.class)); cards.add(new SetCardInfo("Temple of Malice", 186, Rarity.RARE, mage.cards.t.TempleOfMalice.class)); cards.add(new SetCardInfo("Temple of the False God", 187, Rarity.UNCOMMON, mage.cards.t.TempleOfTheFalseGod.class)); + cards.add(new SetCardInfo("Thundering Mightmare", 37, Rarity.RARE, mage.cards.t.ThunderingMightmare.class)); cards.add(new SetCardInfo("Timin, Youthful Geist", 16, Rarity.RARE, mage.cards.t.TiminYouthfulGeist.class)); cards.add(new SetCardInfo("Twilight Drover", 100, Rarity.RARE, mage.cards.t.TwilightDrover.class)); cards.add(new SetCardInfo("Unclaimed Territory", 188, Rarity.UNCOMMON, mage.cards.u.UnclaimedTerritory.class)); diff --git a/Utils/keywords.txt b/Utils/keywords.txt index 326fc0790f..b09acb2f2d 100644 --- a/Utils/keywords.txt +++ b/Utils/keywords.txt @@ -94,7 +94,7 @@ Riot|new| Scavenge|cost| Shadow|instance| Shroud|instance| -Soulbond|instance| +Soulbond|new| Soulshift|number| Skulk|new| Spectacle|card, cost|