From 2a616367af995a66f7df5cf7e36d15ab52fcb716 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 6 Apr 2023 00:38:32 -0400 Subject: [PATCH] [MOM] Implement Tarkir Duneshaper / Burnished Dunestomper --- .../mage/cards/b/BurnishedDunestomper.java | 41 ++++++++++++++++++ .../src/mage/cards/t/TarkirDuneshaper.java | 42 +++++++++++++++++++ .../src/mage/sets/MarchOfTheMachine.java | 2 + Utils/mtg-cards-data.txt | 2 +- 4 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/b/BurnishedDunestomper.java create mode 100644 Mage.Sets/src/mage/cards/t/TarkirDuneshaper.java diff --git a/Mage.Sets/src/mage/cards/b/BurnishedDunestomper.java b/Mage.Sets/src/mage/cards/b/BurnishedDunestomper.java new file mode 100644 index 0000000000..ad484ef730 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BurnishedDunestomper.java @@ -0,0 +1,41 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.keyword.TrampleAbility; +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 BurnishedDunestomper extends CardImpl { + + public BurnishedDunestomper(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, ""); + + this.subtype.add(SubType.PHYREXIAN); + this.subtype.add(SubType.DOG); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(4); + this.toughness = new MageInt(3); + this.color.setWhite(true); + this.color.setGreen(true); + this.nightCard = true; + + // Trample + this.addAbility(TrampleAbility.getInstance()); + } + + private BurnishedDunestomper(final BurnishedDunestomper card) { + super(card); + } + + @Override + public BurnishedDunestomper copy() { + return new BurnishedDunestomper(this); + } +} diff --git a/Mage.Sets/src/mage/cards/t/TarkirDuneshaper.java b/Mage.Sets/src/mage/cards/t/TarkirDuneshaper.java new file mode 100644 index 0000000000..3b20c0913f --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TarkirDuneshaper.java @@ -0,0 +1,42 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.common.ActivateAsSorceryActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.TransformSourceEffect; +import mage.abilities.keyword.TransformAbility; +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 TarkirDuneshaper extends CardImpl { + + public TarkirDuneshaper(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}"); + + this.subtype.add(SubType.DOG); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(1); + this.toughness = new MageInt(2); + this.secondSideCardClazz = mage.cards.b.BurnishedDunestomper.class; + + // {4}{G/P}: Transform Tarkir Duneshaper. Activate only as a sorcery. + this.addAbility(new TransformAbility()); + this.addAbility(new ActivateAsSorceryActivatedAbility(new TransformSourceEffect(), new ManaCostsImpl<>("{4}{G/P}"))); + } + + private TarkirDuneshaper(final TarkirDuneshaper card) { + super(card); + } + + @Override + public TarkirDuneshaper copy() { + return new TarkirDuneshaper(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index c01955e582..57a3141fbb 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -39,6 +39,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Bonded Herdbeast", 178, Rarity.COMMON, mage.cards.b.BondedHerdbeast.class)); cards.add(new SetCardInfo("Boon-Bringer Valkyrie", 9, Rarity.RARE, mage.cards.b.BoonBringerValkyrie.class)); cards.add(new SetCardInfo("Borborygmos and Fblthp", 219, Rarity.MYTHIC, mage.cards.b.BorborygmosAndFblthp.class)); + cards.add(new SetCardInfo("Burnished Dunestomper", 43, Rarity.COMMON, mage.cards.b.BurnishedDunestomper.class)); cards.add(new SetCardInfo("Captive Weird", 49, Rarity.UNCOMMON, mage.cards.c.CaptiveWeird.class)); cards.add(new SetCardInfo("Chandra, Hope's Beacon", 134, Rarity.MYTHIC, mage.cards.c.ChandraHopesBeacon.class)); cards.add(new SetCardInfo("Change the Equation", 50, Rarity.UNCOMMON, mage.cards.c.ChangeTheEquation.class)); @@ -159,6 +160,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Swamp", 279, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Swiftwater Cliffs", 273, Rarity.COMMON, mage.cards.s.SwiftwaterCliffs.class)); cards.add(new SetCardInfo("Tangled Skyline", 209, Rarity.UNCOMMON, mage.cards.t.TangledSkyline.class)); + cards.add(new SetCardInfo("Tarkir Duneshaper", 43, Rarity.COMMON, mage.cards.t.TarkirDuneshaper.class)); cards.add(new SetCardInfo("Tenured Oilcaster", 126, Rarity.COMMON, mage.cards.t.TenuredOilcaster.class)); cards.add(new SetCardInfo("Thornwood Falls", 274, Rarity.COMMON, mage.cards.t.ThornwoodFalls.class)); cards.add(new SetCardInfo("Thunderhead Squadron", 81, Rarity.COMMON, mage.cards.t.ThunderheadSquadron.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 83514380aa..c0cbd50536 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -48120,7 +48120,7 @@ Sunfall|March of the Machine|40|R|{3}{W}{W}|Sorcery|||Exile all creatures. Incub Surge of Salvation|March of the Machine|41|U|{W}|Instant|||You and permanents you control gain hexproof until end of turn. Prevent all damage that black and/or red sources would deal to creatures you control this turn.| Swordsworn Cavalier|March of the Machine|42|C|{1}{W}|Creature - Human Knight|3|1|Swordsworn Cavalier has first strike as long as another Knight entered the battlefield under your control this turn.| Tarkir Duneshaper|March of the Machine|43|C|{W}|Creature - Dog Warrior|1|2|{4}{G/P}: Transform Tarkir Duneshaper. Activate only as a sorcery.| -Tarnished Dunestomper|March of the Machine|43|C||Creature - Phyrexian Dog Warrior|4|3|Trample| +Burnished Dunestomper|March of the Machine|43|C||Creature - Phyrexian Dog Warrior|4|3|Trample| Tiller of Flesh|March of the Machine|44|U|{3}{W}|Creature - Phyrexian Knight|2|4|Whenever you cast a spell that targets one or more permanents, incubate 2.| Zhalfirin Lancer|March of the Machine|45|U|{2}{W}|Creature - Human Knight|3|3|Whenever another Knight enters the battlefield under your control, Zhalfirin Lancer gets +1/+1 and gains vigilance until end of turn.| Artistic Refusal|March of the Machine|46|U|{4}{U}{U}|Instant|||Convoke$Choose one or both --$* Counter target spell.$* Draw two cards, then discard a card.|