From acd4aabe51c98b5bf29b2bb9ef32ab03c231e08e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 21 May 2019 13:38:12 -0400 Subject: [PATCH] Implemented Pondering Mage --- Mage.Sets/src/mage/cards/p/PonderingMage.java | 44 +++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons.java | 1 + 2 files changed, 45 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/p/PonderingMage.java diff --git a/Mage.Sets/src/mage/cards/p/PonderingMage.java b/Mage.Sets/src/mage/cards/p/PonderingMage.java new file mode 100644 index 0000000000..b9e38f3eb7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PonderingMage.java @@ -0,0 +1,44 @@ +package mage.cards.p; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.LookLibraryControllerEffect; +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 PonderingMage extends CardImpl { + + public PonderingMage(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{U}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WIZARD); + this.power = new MageInt(3); + this.toughness = new MageInt(4); + + // When Pondering Mage enters the battlefield, look at the top three cards of your library, then put them back in any order. You may shuffle your library. Draw a card. + Ability ability = new EntersBattlefieldTriggeredAbility( + new LookLibraryControllerEffect(3, true, true) + ); + ability.addEffect(new DrawCardSourceControllerEffect(1)); + this.addAbility(ability); + } + + private PonderingMage(final PonderingMage card) { + super(card); + } + + @Override + public PonderingMage copy() { + return new PonderingMage(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons.java b/Mage.Sets/src/mage/sets/ModernHorizons.java index 25ff269d1c..79f9b8d9e5 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons.java @@ -49,6 +49,7 @@ public final class ModernHorizons extends ExpansionSet { cards.add(new SetCardInfo("Munitions Expert", 209, Rarity.UNCOMMON, mage.cards.m.MunitionsExpert.class)); cards.add(new SetCardInfo("Nimble Mongoose", 174, Rarity.COMMON, mage.cards.n.NimbleMongoose.class)); cards.add(new SetCardInfo("Nurturing Peatland", 243, Rarity.RARE, mage.cards.n.NurturingPeatland.class)); + cards.add(new SetCardInfo("Pondering Mage", 63, Rarity.COMMON, mage.cards.p.PonderingMage.class)); cards.add(new SetCardInfo("Prismatic View", 244, Rarity.RARE, mage.cards.p.PrismaticView.class)); cards.add(new SetCardInfo("Prohibit", 64, Rarity.COMMON, mage.cards.p.Prohibit.class)); cards.add(new SetCardInfo("Seasoned Pyromancer", 145, Rarity.MYTHIC, mage.cards.s.SeasonedPyromancer.class));