[MH2] Implemented Herd Baloth

This commit is contained in:
Evan Kranzler 2021-05-27 20:08:30 -04:00
parent e42f2efadc
commit 5e6bc802fb
2 changed files with 41 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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));