From 5e6bc802fb4178b05c5d74c6f9003c1acbe0eb17 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 27 May 2021 20:08:30 -0400 Subject: [PATCH] [MH2] Implemented Herd Baloth --- Mage.Sets/src/mage/cards/h/HerdBaloth.java | 40 ++++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons2.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/h/HerdBaloth.java diff --git a/Mage.Sets/src/mage/cards/h/HerdBaloth.java b/Mage.Sets/src/mage/cards/h/HerdBaloth.java new file mode 100644 index 0000000000..3718440edd --- /dev/null +++ b/Mage.Sets/src/mage/cards/h/HerdBaloth.java @@ -0,0 +1,40 @@ +package mage.cards.h; + +import mage.MageInt; +import mage.abilities.common.OneOrMoreCountersAddedTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.BeastToken2; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class HerdBaloth extends CardImpl { + + public HerdBaloth(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}{G}"); + + this.subtype.add(SubType.BEAST); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // Whenever one or more +1/+1 counters are put on Herd Baloth, you may create a 4/4 green Beast creature token. + this.addAbility(new OneOrMoreCountersAddedTriggeredAbility( + new CreateTokenEffect(new BeastToken2()), true + )); + } + + private HerdBaloth(final HerdBaloth card) { + super(card); + } + + @Override + public HerdBaloth copy() { + return new HerdBaloth(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons2.java b/Mage.Sets/src/mage/sets/ModernHorizons2.java index a17acbfc9b..30177f5c96 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons2.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons2.java @@ -58,6 +58,7 @@ public final class ModernHorizons2 extends ExpansionSet { cards.add(new SetCardInfo("Goldmire Bridge", 247, Rarity.COMMON, mage.cards.g.GoldmireBridge.class)); cards.add(new SetCardInfo("Greed", 274, Rarity.UNCOMMON, mage.cards.g.Greed.class)); cards.add(new SetCardInfo("Grief", 87, Rarity.MYTHIC, mage.cards.g.Grief.class)); + cards.add(new SetCardInfo("Herd Baloth", 165, Rarity.UNCOMMON, mage.cards.h.HerdBaloth.class)); cards.add(new SetCardInfo("Ignoble Hierarch", 166, Rarity.RARE, mage.cards.i.IgnobleHierarch.class)); cards.add(new SetCardInfo("Imperial Recruiter", 281, Rarity.MYTHIC, mage.cards.i.ImperialRecruiter.class)); cards.add(new SetCardInfo("Island", 483, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));