[VOC] Implemented Thundering Mightmare

This commit is contained in:
Evan Kranzler 2021-11-13 09:39:46 -05:00
parent 3d15a89079
commit 756e0b40b0
3 changed files with 52 additions and 1 deletions

View file

@ -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);
}
}

View file

@ -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));

View file

@ -94,7 +94,7 @@ Riot|new|
Scavenge|cost|
Shadow|instance|
Shroud|instance|
Soulbond|instance|
Soulbond|new|
Soulshift|number|
Skulk|new|
Spectacle|card, cost|