From 9f52aea05ddf98f6a7931cfce3f778a9b6ba4de8 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 20 Sep 2019 18:51:54 -0400 Subject: [PATCH] Implemented Prophet of the Peak --- .../src/mage/cards/p/ProphetOfThePeak.java | 37 +++++++++++++++++++ Mage.Sets/src/mage/sets/ThroneOfEldraine.java | 1 + 2 files changed, 38 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/p/ProphetOfThePeak.java diff --git a/Mage.Sets/src/mage/cards/p/ProphetOfThePeak.java b/Mage.Sets/src/mage/cards/p/ProphetOfThePeak.java new file mode 100644 index 0000000000..3f55e1e3f2 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/ProphetOfThePeak.java @@ -0,0 +1,37 @@ +package mage.cards.p; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.keyword.ScryEffect; +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 ProphetOfThePeak extends CardImpl { + + public ProphetOfThePeak(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{6}"); + + this.subtype.add(SubType.CAT); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // When Prophet of the Peak enters the battlefield, scry 2. + this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(2))); + } + + private ProphetOfThePeak(final ProphetOfThePeak card) { + super(card); + } + + @Override + public ProphetOfThePeak copy() { + return new ProphetOfThePeak(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java index d5c3d15f67..eb6b8ff8f3 100644 --- a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java +++ b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java @@ -199,6 +199,7 @@ public final class ThroneOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Plains", 252, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Plains", 253, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Prized Griffin", 24, Rarity.COMMON, mage.cards.p.PrizedGriffin.class)); + cards.add(new SetCardInfo("Prophet of the Peak", 227, Rarity.COMMON, mage.cards.p.ProphetOfThePeak.class)); cards.add(new SetCardInfo("Questing Beast", 171, Rarity.MYTHIC, mage.cards.q.QuestingBeast.class)); cards.add(new SetCardInfo("Raging Redcap", 134, Rarity.COMMON, mage.cards.r.RagingRedcap.class)); cards.add(new SetCardInfo("Rally for the Throne", 25, Rarity.UNCOMMON, mage.cards.r.RallyForTheThrone.class));