From 9f6fee23ac5fd39beec79a0c1a254caee36d4f63 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Tue, 4 Apr 2023 21:48:57 -0400 Subject: [PATCH] [MOM] Implement Gloomfang Mauler --- .../src/mage/cards/g/GloomfangMauler.java | 46 +++++++++++++++++++ .../src/mage/sets/MarchOfTheMachine.java | 1 + 2 files changed, 47 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/g/GloomfangMauler.java diff --git a/Mage.Sets/src/mage/cards/g/GloomfangMauler.java b/Mage.Sets/src/mage/cards/g/GloomfangMauler.java new file mode 100644 index 0000000000..4629412a9d --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GloomfangMauler.java @@ -0,0 +1,46 @@ +package mage.cards.g; + +import mage.MageInt; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.BackupAbility; +import mage.abilities.keyword.MenaceAbility; +import mage.abilities.keyword.SwampcyclingAbility; +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 GloomfangMauler extends CardImpl { + + public GloomfangMauler(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{B}{B}"); + + this.subtype.add(SubType.NIGHTMARE); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Swampcycling {2} + this.addAbility(new SwampcyclingAbility(new ManaCostsImpl<>("{2}"))); + + // Backup 2 + BackupAbility backupAbility = new BackupAbility(this, 2); + this.addAbility(backupAbility); + + // Menace + backupAbility.addAbility(new MenaceAbility(false)); + } + + private GloomfangMauler(final GloomfangMauler card) { + super(card); + } + + @Override + public GloomfangMauler copy() { + return new GloomfangMauler(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index 6f3c930c10..284fdf4bfe 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -64,6 +64,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Glissa, Herald of Predation", 226, Rarity.RARE, mage.cards.g.GlissaHeraldOfPredation.class)); cards.add(new SetCardInfo("Glistening Dawn", 187, Rarity.RARE, mage.cards.g.GlisteningDawn.class)); cards.add(new SetCardInfo("Glistening Deluge", 107, Rarity.UNCOMMON, mage.cards.g.GlisteningDeluge.class)); + cards.add(new SetCardInfo("Gloomfang Mauler", 108, Rarity.COMMON, mage.cards.g.GloomfangMauler.class)); cards.add(new SetCardInfo("Gnottvold Hermit", 188, Rarity.UNCOMMON, mage.cards.g.GnottvoldHermit.class)); cards.add(new SetCardInfo("Harried Artisan", 143, Rarity.UNCOMMON, mage.cards.h.HarriedArtisan.class)); cards.add(new SetCardInfo("Heliod, the Radiant Dawn", 17, Rarity.RARE, mage.cards.h.HeliodTheRadiantDawn.class));