From 2f3970e55c82a3e8251f20b78aa593dc064cdafc Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 30 Mar 2023 17:40:32 -0400 Subject: [PATCH] [MOM] Implement Interdisciplinary Mascot --- .../mage/cards/i/InterdisciplinaryMascot.java | 50 +++++++++++++++++++ .../src/mage/sets/MarchOfTheMachine.java | 1 + 2 files changed, 51 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/i/InterdisciplinaryMascot.java diff --git a/Mage.Sets/src/mage/cards/i/InterdisciplinaryMascot.java b/Mage.Sets/src/mage/cards/i/InterdisciplinaryMascot.java new file mode 100644 index 0000000000..6393b9a799 --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/InterdisciplinaryMascot.java @@ -0,0 +1,50 @@ +package mage.cards.i; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.abilities.keyword.WardAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.PutCards; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class InterdisciplinaryMascot extends CardImpl { + + public InterdisciplinaryMascot(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{6}{U}{U}"); + + this.subtype.add(SubType.ELEMENTAL); + this.subtype.add(SubType.FRACTAL); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Convoke + this.addAbility(new ConvokeAbility()); + + // Ward {3} + this.addAbility(new WardAbility(new ManaCostsImpl<>("{3}"))); + + // When Interdisciplinary Mascot enters the battlefield, look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. + this.addAbility(new EntersBattlefieldTriggeredAbility(new LookLibraryAndPickControllerEffect( + 4, 1, PutCards.HAND, PutCards.BOTTOM_RANDOM + ))); + } + + private InterdisciplinaryMascot(final InterdisciplinaryMascot card) { + super(card); + } + + @Override + public InterdisciplinaryMascot copy() { + return new InterdisciplinaryMascot(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index 82a5ab2d8c..62fc2395b5 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -34,6 +34,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Heliod, the Warped Eclipse", 293, Rarity.RARE, mage.cards.h.HeliodTheWarpedEclipse.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Fairgrounds Trumpeter", 335, Rarity.COMMON, mage.cards.f.FairgroundsTrumpeter.class)); cards.add(new SetCardInfo("Forest", 281, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Interdisciplinary Mascot", 326, Rarity.RARE, mage.cards.i.InterdisciplinaryMascot.class)); cards.add(new SetCardInfo("Island", 278, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Jungle Hollow", 270, Rarity.COMMON, mage.cards.j.JungleHollow.class)); cards.add(new SetCardInfo("Monastery Mentor", 28, Rarity.MYTHIC, mage.cards.m.MonasteryMentor.class));