From e4e7b06520d09eaf4de736fd359183a07b88b699 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 14 Jan 2021 18:06:04 -0500 Subject: [PATCH] [KHM] Implemented Gnottvold Slumbermound --- .../mage/cards/g/GnottvoldSlumbermound.java | 53 +++++++++++++++++++ Mage.Sets/src/mage/sets/Kaldheim.java | 1 + 2 files changed, 54 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/g/GnottvoldSlumbermound.java diff --git a/Mage.Sets/src/mage/cards/g/GnottvoldSlumbermound.java b/Mage.Sets/src/mage/cards/g/GnottvoldSlumbermound.java new file mode 100644 index 0000000000..725debff1f --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GnottvoldSlumbermound.java @@ -0,0 +1,53 @@ +package mage.cards.g; + +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.SacrificeSourceCost; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.mana.RedManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.game.permanent.token.TrollWarriorToken; +import mage.target.common.TargetLandPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class GnottvoldSlumbermound extends CardImpl { + + public GnottvoldSlumbermound(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + // Gnottvold Slumbermound enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + + // {T}: Add {R}. + this.addAbility(new RedManaAbility()); + + // {3}{R}{G}{G}, {T}, Sacrifice Gnottvold Slumbermound: Destroy target land. Create a 4/4 green Troll Warrior creature token with trample. + Ability ability = new SimpleActivatedAbility( + new DestroyTargetEffect().setText("destroy target land."), new ManaCostsImpl("{3}{R}{G}{G}") + ); + ability.addCost(new TapSourceCost()); + ability.addCost(new SacrificeSourceCost()); + ability.addEffect(new CreateTokenEffect(new TrollWarriorToken())); + ability.addTarget(new TargetLandPermanent()); + this.addAbility(ability); + } + + private GnottvoldSlumbermound(final GnottvoldSlumbermound card) { + super(card); + } + + @Override + public GnottvoldSlumbermound copy() { + return new GnottvoldSlumbermound(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index d57da61f6e..03a9e376b5 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("Gladewalker Ritualist", 392, Rarity.UNCOMMON, mage.cards.g.GladewalkerRitualist.class)); 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("Gnottvold Slumbermound", 258, Rarity.COMMON, mage.cards.g.GnottvoldSlumbermound.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));