From fb6c3ddcfbf13902dfefb25947818ccd6cf10c4d Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 26 Aug 2022 20:05:48 -0400 Subject: [PATCH] [DMU] Implemented Haunted Mire --- Mage.Sets/src/mage/cards/h/HauntedMire.java | 40 ++++++++++++++++++++ Mage.Sets/src/mage/sets/DominariaUnited.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/h/HauntedMire.java diff --git a/Mage.Sets/src/mage/cards/h/HauntedMire.java b/Mage.Sets/src/mage/cards/h/HauntedMire.java new file mode 100644 index 0000000000..ec468ca2f9 --- /dev/null +++ b/Mage.Sets/src/mage/cards/h/HauntedMire.java @@ -0,0 +1,40 @@ +package mage.cards.h; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.mana.BlackManaAbility; +import mage.abilities.mana.GreenManaAbility; +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 HauntedMire extends CardImpl { + + public HauntedMire(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + this.subtype.add(SubType.SWAMP); + this.subtype.add(SubType.FOREST); + + // ({T}: Add {B} or {G}.) + this.addAbility(new BlackManaAbility()); + this.addAbility(new GreenManaAbility()); + + // Haunted Mire enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + } + + private HauntedMire(final HauntedMire card) { + super(card); + } + + @Override + public HauntedMire copy() { + return new HauntedMire(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnited.java b/Mage.Sets/src/mage/sets/DominariaUnited.java index 5a71853602..1bae53fdfd 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnited.java +++ b/Mage.Sets/src/mage/sets/DominariaUnited.java @@ -87,6 +87,7 @@ public final class DominariaUnited extends ExpansionSet { cards.add(new SetCardInfo("Griffin Protector", 18, Rarity.COMMON, mage.cards.g.GriffinProtector.class)); cards.add(new SetCardInfo("Hammerhand", 129, Rarity.COMMON, mage.cards.h.Hammerhand.class)); cards.add(new SetCardInfo("Haughty Djinn", 52, Rarity.RARE, mage.cards.h.HaughtyDjinn.class)); + cards.add(new SetCardInfo("Haunted Mire", 248, Rarity.COMMON, mage.cards.h.HauntedMire.class)); cards.add(new SetCardInfo("Herd Migration", 165, Rarity.RARE, mage.cards.h.HerdMigration.class)); cards.add(new SetCardInfo("Hero's Heirloom", 231, Rarity.UNCOMMON, mage.cards.h.HerosHeirloom.class)); cards.add(new SetCardInfo("Hurler Cyclops", 130, Rarity.UNCOMMON, mage.cards.h.HurlerCyclops.class));