From 67bdbc986cdbbc718ce974074e1e46bd91a061c7 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 17 Sep 2022 11:10:35 -0400 Subject: [PATCH] [40K] Implemented Thunderwolf Cavalry --- .../src/mage/cards/t/ThunderwolfCavalry.java | 50 +++++++++++++++++++ Mage.Sets/src/mage/sets/Warhammer40000.java | 1 + 2 files changed, 51 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/ThunderwolfCavalry.java diff --git a/Mage.Sets/src/mage/cards/t/ThunderwolfCavalry.java b/Mage.Sets/src/mage/cards/t/ThunderwolfCavalry.java new file mode 100644 index 0000000000..cf88484902 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThunderwolfCavalry.java @@ -0,0 +1,50 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility; +import mage.abilities.effects.common.counter.AddCountersAllEffect; +import mage.abilities.keyword.FirstStrikeAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.counters.CounterType; +import mage.filter.FilterPermanent; +import mage.filter.common.FilterControlledCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ThunderwolfCavalry extends CardImpl { + + private static final FilterPermanent filter + = new FilterControlledCreaturePermanent("other creature you control"); + + public ThunderwolfCavalry(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}"); + + this.subtype.add(SubType.ASTARTES); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // First strike + this.addAbility(FirstStrikeAbility.getInstance()); + + // Crushing Teeth -- Whenever Thunderwolf Cavalry deals combat damage to a player, put a +1/+1 counter on each other creature you control. + this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility( + new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter), false + ).withFlavorWord("Crushing Teeth")); + } + + private ThunderwolfCavalry(final ThunderwolfCavalry card) { + super(card); + } + + @Override + public ThunderwolfCavalry copy() { + return new ThunderwolfCavalry(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Warhammer40000.java b/Mage.Sets/src/mage/sets/Warhammer40000.java index b37ba326cc..c1ae7f85bb 100644 --- a/Mage.Sets/src/mage/sets/Warhammer40000.java +++ b/Mage.Sets/src/mage/sets/Warhammer40000.java @@ -186,6 +186,7 @@ public final class Warhammer40000 extends ExpansionSet { cards.add(new SetCardInfo("Their Name Is Death", 62, Rarity.RARE, mage.cards.t.TheirNameIsDeath.class)); cards.add(new SetCardInfo("Thornwood Falls", 302, Rarity.COMMON, mage.cards.t.ThornwoodFalls.class)); cards.add(new SetCardInfo("Thought Vessel", 259, Rarity.COMMON, mage.cards.t.ThoughtVessel.class)); + cards.add(new SetCardInfo("Thunderwolf Cavalry", 16, Rarity.UNCOMMON, mage.cards.t.ThunderwolfCavalry.class)); cards.add(new SetCardInfo("Tranquil Cove", 303, Rarity.COMMON, mage.cards.t.TranquilCove.class)); cards.add(new SetCardInfo("Trygon Prime", 143, Rarity.UNCOMMON, mage.cards.t.TrygonPrime.class)); cards.add(new SetCardInfo("Tyranid Invasion", 102, Rarity.UNCOMMON, mage.cards.t.TyranidInvasion.class));