From 3d1820f82caa724259911d25d227c17eb5e851a4 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 14 Jan 2021 17:58:17 -0500 Subject: [PATCH] [KHM] Implemented Goldmaw Champion --- .../src/mage/cards/g/GoldmawChampion.java | 43 +++++++++++++++++++ Mage.Sets/src/mage/sets/Kaldheim.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/g/GoldmawChampion.java diff --git a/Mage.Sets/src/mage/cards/g/GoldmawChampion.java b/Mage.Sets/src/mage/cards/g/GoldmawChampion.java new file mode 100644 index 00000000000..f2c25fc7830 --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GoldmawChampion.java @@ -0,0 +1,43 @@ +package mage.cards.g; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.TapTargetEffect; +import mage.abilities.keyword.BoastAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class GoldmawChampion extends CardImpl { + + public GoldmawChampion(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}"); + + this.subtype.add(SubType.DWARF); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(2); + this.toughness = new MageInt(3); + + // Boast — {1}{W}: Tap target creature. + Ability ability = new BoastAbility(new TapTargetEffect(), new ManaCostsImpl<>("{1}{W}")); + ability.addTarget(new TargetCreaturePermanent()); + this.addAbility(ability); + } + + private GoldmawChampion(final GoldmawChampion card) { + super(card); + } + + @Override + public GoldmawChampion copy() { + return new GoldmawChampion(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index 30a5c5d30fa..ca12cfdbf46 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -119,6 +119,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("Glittering Frost", 171, Rarity.COMMON, mage.cards.g.GlitteringFrost.class)); cards.add(new SetCardInfo("Gnottvold Recluse", 172, Rarity.COMMON, mage.cards.g.GnottvoldRecluse.class)); cards.add(new SetCardInfo("Gods' Hall Guardian", 13, Rarity.COMMON, mage.cards.g.GodsHallGuardian.class)); + cards.add(new SetCardInfo("Goldmaw Champion", 14, Rarity.COMMON, mage.cards.g.GoldmawChampion.class)); cards.add(new SetCardInfo("Goldspan Dragon", 139, Rarity.MYTHIC, mage.cards.g.GoldspanDragon.class)); cards.add(new SetCardInfo("Goldvein Pick", 239, Rarity.COMMON, mage.cards.g.GoldveinPick.class)); cards.add(new SetCardInfo("Grim Draugr", 96, Rarity.COMMON, mage.cards.g.GrimDraugr.class));