From 428dd8d67827b8ba2275b73d9c97fe277e55df54 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 7 Apr 2020 17:39:03 -0400 Subject: [PATCH] Implemented Majestic Auricorn --- .../src/mage/cards/m/MajesticAuricorn.java | 45 +++++++++++++++++++ .../src/mage/sets/IkoriaLairOfBehemoths.java | 1 + 2 files changed, 46 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/m/MajesticAuricorn.java diff --git a/Mage.Sets/src/mage/cards/m/MajesticAuricorn.java b/Mage.Sets/src/mage/cards/m/MajesticAuricorn.java new file mode 100644 index 0000000000..6ece7798a9 --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/MajesticAuricorn.java @@ -0,0 +1,45 @@ +package mage.cards.m; + +import mage.MageInt; +import mage.abilities.common.MutatesSourceTriggeredAbility; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.keyword.MutateAbility; +import mage.abilities.keyword.VigilanceAbility; +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 MajesticAuricorn extends CardImpl { + + public MajesticAuricorn(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}"); + + this.subtype.add(SubType.UNICORN); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // Mutate {3}{W} + this.addAbility(new MutateAbility(this, "{3}{W}")); + + // Vigilance + this.addAbility(VigilanceAbility.getInstance()); + + // Whenever this creature mutates, you gain 4 life. + this.addAbility(new MutatesSourceTriggeredAbility(new GainLifeEffect(4))); + } + + private MajesticAuricorn(final MajesticAuricorn card) { + super(card); + } + + @Override + public MajesticAuricorn copy() { + return new MajesticAuricorn(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index cb91b7976c..7233282359 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -107,6 +107,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { cards.add(new SetCardInfo("Ketria Crystal", 236, Rarity.UNCOMMON, mage.cards.k.KetriaCrystal.class)); cards.add(new SetCardInfo("Kogla, the Titan Ape", 162, Rarity.RARE, mage.cards.k.KoglaTheTitanApe.class)); cards.add(new SetCardInfo("Lore Drakkis", 194, Rarity.UNCOMMON, mage.cards.l.LoreDrakkis.class)); + cards.add(new SetCardInfo("Majestic Auricorn", 22, Rarity.UNCOMMON, mage.cards.m.MajesticAuricorn.class)); cards.add(new SetCardInfo("Migration Path", 164, Rarity.UNCOMMON, mage.cards.m.MigrationPath.class)); cards.add(new SetCardInfo("Migratory Greathorn", 165, Rarity.COMMON, mage.cards.m.MigratoryGreathorn.class)); cards.add(new SetCardInfo("Mosscoat Goriak", 167, Rarity.COMMON, mage.cards.m.MosscoatGoriak.class));