From 7179ba8d4daf1abb348112621c1a549d614ffdcb Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 4 Nov 2022 19:28:47 -0400 Subject: [PATCH] [BRO] Implement Burrowing Razormaw --- .../src/mage/cards/b/BurrowingRazormaw.java | 37 +++++++++++++++++++ Mage.Sets/src/mage/sets/TheBrothersWar.java | 1 + 2 files changed, 38 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BurrowingRazormaw.java diff --git a/Mage.Sets/src/mage/cards/b/BurrowingRazormaw.java b/Mage.Sets/src/mage/cards/b/BurrowingRazormaw.java new file mode 100644 index 0000000000..fdb7a576b7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BurrowingRazormaw.java @@ -0,0 +1,37 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.common.DiesSourceTriggeredAbility; +import mage.abilities.effects.common.MillCardsControllerEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BurrowingRazormaw extends CardImpl { + + public BurrowingRazormaw(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}"); + + this.subtype.add(SubType.BEAST); + this.power = new MageInt(4); + this.toughness = new MageInt(2); + + // When Burrowing Razormaw dies, mill four cards. + this.addAbility(new DiesSourceTriggeredAbility(new MillCardsControllerEffect(4))); + } + + private BurrowingRazormaw(final BurrowingRazormaw card) { + super(card); + } + + @Override + public BurrowingRazormaw copy() { + return new BurrowingRazormaw(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheBrothersWar.java b/Mage.Sets/src/mage/sets/TheBrothersWar.java index 3792a2a7cb..333cea099b 100644 --- a/Mage.Sets/src/mage/sets/TheBrothersWar.java +++ b/Mage.Sets/src/mage/sets/TheBrothersWar.java @@ -50,6 +50,7 @@ public final class TheBrothersWar extends ExpansionSet { cards.add(new SetCardInfo("Blitz Automaton", 158, Rarity.COMMON, mage.cards.b.BlitzAutomaton.class)); cards.add(new SetCardInfo("Brotherhood's End", 128, Rarity.RARE, mage.cards.b.BrotherhoodsEnd.class)); cards.add(new SetCardInfo("Brushland", 259, Rarity.RARE, mage.cards.b.Brushland.class)); + cards.add(new SetCardInfo("Burrowing Razormaw", 173, Rarity.COMMON, mage.cards.b.BurrowingRazormaw.class)); cards.add(new SetCardInfo("Bushwhack", 174, Rarity.UNCOMMON, mage.cards.b.Bushwhack.class)); cards.add(new SetCardInfo("Carrion Locust", 87, Rarity.COMMON, mage.cards.c.CarrionLocust.class)); cards.add(new SetCardInfo("Citanul Stalwart", 175, Rarity.COMMON, mage.cards.c.CitanulStalwart.class));