From fbdb29cb988c40682695889664d74567fe2ca0bb Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 26 May 2021 21:40:02 -0400 Subject: [PATCH] [MH2] Implemented Ignoble Hierarch --- .../src/mage/cards/i/IgnobleHierarch.java | 45 +++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons2.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 47 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/i/IgnobleHierarch.java diff --git a/Mage.Sets/src/mage/cards/i/IgnobleHierarch.java b/Mage.Sets/src/mage/cards/i/IgnobleHierarch.java new file mode 100644 index 0000000000..19c6d744a1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/IgnobleHierarch.java @@ -0,0 +1,45 @@ +package mage.cards.i; + +import mage.MageInt; +import mage.abilities.keyword.ExaltedAbility; +import mage.abilities.mana.BlackManaAbility; +import mage.abilities.mana.GreenManaAbility; +import mage.abilities.mana.RedManaAbility; +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 IgnobleHierarch extends CardImpl { + + public IgnobleHierarch(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}"); + + this.subtype.add(SubType.GOBLIN); + this.subtype.add(SubType.SHAMAN); + this.power = new MageInt(0); + this.toughness = new MageInt(1); + + // Exalted + this.addAbility(new ExaltedAbility()); + + // {T}: Add {B}, {R}, or {G}. + this.addAbility(new BlackManaAbility()); + this.addAbility(new RedManaAbility()); + this.addAbility(new GreenManaAbility()); + } + + private IgnobleHierarch(final IgnobleHierarch card) { + super(card); + } + + @Override + public IgnobleHierarch copy() { + return new IgnobleHierarch(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons2.java b/Mage.Sets/src/mage/sets/ModernHorizons2.java index dbe0b306af..b1caab281e 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons2.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons2.java @@ -51,6 +51,7 @@ public final class ModernHorizons2 extends ExpansionSet { cards.add(new SetCardInfo("Goblin Bombardment", 279, Rarity.COMMON, mage.cards.g.GoblinBombardment.class)); cards.add(new SetCardInfo("Goldmire Bridge", 247, Rarity.COMMON, mage.cards.g.GoldmireBridge.class)); cards.add(new SetCardInfo("Grief", 87, Rarity.MYTHIC, mage.cards.g.Grief.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)); cards.add(new SetCardInfo("Kitchen Imp", 89, Rarity.COMMON, mage.cards.k.KitchenImp.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index dfd4a79ad5..609b4187ad 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -41372,6 +41372,7 @@ Aeve, Progenitor Ooze|Modern Horizons 2|148|R|{2}{G}{G}{G}|Legendary Creature - Chatterfang, Squirrel General|Modern Horizons 2|151|M|{2}{G}|Legendary Creature - Squirrel Warrior|3|3|Forestwalk$If one or more tokens would be created under your control, those tokens plus that many 1/1 green Squirrel creature tokens are created instead.${B}, Sacrifice X Squirrels: Target creature gets +X/-X until end of turn.| Chatterstorm|Modern Horizons 2|152|C|{1}{G}|Sorcery|||Create a 1/1 green Squirrel creature token.$Storm| Gaea's Will|Modern Horizons 2|162|R||Sorcery|||Suspend 4—{G}$Until end of turn, you may play land cards and cast spells from your graveyard.$If a card would be put into your graveyard from anywhere this turn, exile that card instead.| +Ignoble Hierarch|Modern Horizons 2|166|R|{G}|Creature - Goblin Shaman|0|1|Exalted${T}: add {B}, {R}, or {G}.| Rift Sower|Modern Horizons 2|170|C|{2}{G}|Creature - Elf Druid|1|3|{T}: Add one mana of any color.$Suspend 2—{G}| Scurry Oak|Modern Horizons 2|172|U|{2}{G}|Creature - Treefolk|1|2|Evolve$Whenever one or more +1/+1 counters are put on Scurry Oak, you may create a 1/1 green Squirrel creature token.| Squirrel Sanctuary|Modern Horizons 2|174|U|{G}|Enchantment|||When Squirrel Sanctuary enters the battlefield, create a 1/1 green Squirrel creature token.$Whenever a nontoken creature you control dies, you may pay {1}. If you do, return Squirrel Sanctuary to its owner's hand.|