From 1e70a7436b580dd5075f0854b1b5911bb329069e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 1 Jun 2021 20:27:02 -0400 Subject: [PATCH] [MH2] Implemented Hard Evidence --- Mage.Sets/src/mage/cards/h/HardEvidence.java | 35 ++++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons2.java | 1 + 2 files changed, 36 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/h/HardEvidence.java diff --git a/Mage.Sets/src/mage/cards/h/HardEvidence.java b/Mage.Sets/src/mage/cards/h/HardEvidence.java new file mode 100644 index 0000000000..bfeecec1af --- /dev/null +++ b/Mage.Sets/src/mage/cards/h/HardEvidence.java @@ -0,0 +1,35 @@ +package mage.cards.h; + +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.keyword.InvestigateEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.game.permanent.token.CrabToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class HardEvidence extends CardImpl { + + public HardEvidence(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{U}"); + + // Create a 0/3 blue Crab creature token. + this.getSpellAbility().addEffect(new CreateTokenEffect(new CrabToken())); + + // Investigate. + this.getSpellAbility().addEffect(new InvestigateEffect().concatBy("
")); + } + + private HardEvidence(final HardEvidence card) { + super(card); + } + + @Override + public HardEvidence copy() { + return new HardEvidence(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons2.java b/Mage.Sets/src/mage/sets/ModernHorizons2.java index 3478ec6b98..483821b94d 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons2.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons2.java @@ -100,6 +100,7 @@ public final class ModernHorizons2 extends ExpansionSet { cards.add(new SetCardInfo("Graceful Restoration", 201, Rarity.UNCOMMON, mage.cards.g.GracefulRestoration.class)); cards.add(new SetCardInfo("Greed", 274, Rarity.UNCOMMON, mage.cards.g.Greed.class)); cards.add(new SetCardInfo("Grief", 87, Rarity.MYTHIC, mage.cards.g.Grief.class)); + cards.add(new SetCardInfo("Hard Evidence", 46, Rarity.COMMON, mage.cards.h.HardEvidence.class)); cards.add(new SetCardInfo("Harmonic Prodigy", 132, Rarity.RARE, mage.cards.h.HarmonicProdigy.class)); cards.add(new SetCardInfo("Herd Baloth", 165, Rarity.UNCOMMON, mage.cards.h.HerdBaloth.class)); cards.add(new SetCardInfo("Hunting Pack", 284, Rarity.UNCOMMON, mage.cards.h.HuntingPack.class));