From 52aef4338881ab1c25dfd5d9c841b2655664e2c1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 10 Jan 2020 19:11:32 -0500 Subject: [PATCH] Implemented Venomous Hierophant --- .../src/mage/cards/v/VenomousHierophant.java | 42 +++++++++++++++++++ .../src/mage/sets/TherosBeyondDeath.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/v/VenomousHierophant.java diff --git a/Mage.Sets/src/mage/cards/v/VenomousHierophant.java b/Mage.Sets/src/mage/cards/v/VenomousHierophant.java new file mode 100644 index 0000000000..921e25a6f1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/v/VenomousHierophant.java @@ -0,0 +1,42 @@ +package mage.cards.v; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect; +import mage.abilities.keyword.DeathtouchAbility; +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 VenomousHierophant extends CardImpl { + + public VenomousHierophant(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}"); + + this.subtype.add(SubType.GORGON); + this.subtype.add(SubType.CLERIC); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Deathtouch + this.addAbility(DeathtouchAbility.getInstance()); + + // When Venomous Hierophant enters the battlefield, put the top three cards of your library into your graveyard. + this.addAbility(new EntersBattlefieldTriggeredAbility(new PutLibraryIntoGraveTargetEffect(3))); + } + + private VenomousHierophant(final VenomousHierophant card) { + super(card); + } + + @Override + public VenomousHierophant copy() { + return new VenomousHierophant(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index bb54ff071a..d91e585622 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -230,6 +230,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Underworld Rage-Hound", 163, Rarity.COMMON, mage.cards.u.UnderworldRageHound.class)); cards.add(new SetCardInfo("Underworld Sentinel", 293, Rarity.RARE, mage.cards.u.UnderworldSentinel.class)); cards.add(new SetCardInfo("Unknown Shores", 249, Rarity.COMMON, mage.cards.u.UnknownShores.class)); + cards.add(new SetCardInfo("Venomous Hierophant", 122, Rarity.COMMON, mage.cards.v.VenomousHierophant.class)); cards.add(new SetCardInfo("Vexing Gull", 79, Rarity.COMMON, mage.cards.v.VexingGull.class)); cards.add(new SetCardInfo("Victory's Envoy", 289, Rarity.RARE, mage.cards.v.VictorysEnvoy.class)); cards.add(new SetCardInfo("Voracious Typhon", 203, Rarity.COMMON, mage.cards.v.VoraciousTyphon.class));