From f4460e3d619dd6805f02ceb0a954e8b939db0d37 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 8 Jan 2021 08:56:19 -0500 Subject: [PATCH] [KHM] Implemented Behold the Multiverse --- .../src/mage/cards/b/BeholdTheMultiverse.java | 36 +++++++++++++++++++ .../src/mage/cards/g/GlimmerOfGenius.java | 15 +++----- Mage.Sets/src/mage/sets/Kaldheim.java | 1 + 3 files changed, 42 insertions(+), 10 deletions(-) create mode 100644 Mage.Sets/src/mage/cards/b/BeholdTheMultiverse.java diff --git a/Mage.Sets/src/mage/cards/b/BeholdTheMultiverse.java b/Mage.Sets/src/mage/cards/b/BeholdTheMultiverse.java new file mode 100644 index 0000000000..2100c3c9c7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BeholdTheMultiverse.java @@ -0,0 +1,36 @@ +package mage.cards.b; + +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.keyword.ScryEffect; +import mage.abilities.keyword.ForetellAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BeholdTheMultiverse extends CardImpl { + + public BeholdTheMultiverse(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}"); + + // Scry 2, then draw two cards. + this.getSpellAbility().addEffect(new ScryEffect(2)); + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2).concatBy(", then")); + + // Foretell {1}{U} + this.addAbility(new ForetellAbility(this, "{1}{U}")); + } + + private BeholdTheMultiverse(final BeholdTheMultiverse card) { + super(card); + } + + @Override + public BeholdTheMultiverse copy() { + return new BeholdTheMultiverse(this); + } +} diff --git a/Mage.Sets/src/mage/cards/g/GlimmerOfGenius.java b/Mage.Sets/src/mage/cards/g/GlimmerOfGenius.java index cb67205820..b53492c304 100644 --- a/Mage.Sets/src/mage/cards/g/GlimmerOfGenius.java +++ b/Mage.Sets/src/mage/cards/g/GlimmerOfGenius.java @@ -1,8 +1,5 @@ - package mage.cards.g; -import java.util.UUID; -import mage.abilities.effects.Effect; import mage.abilities.effects.common.DrawCardSourceControllerEffect; import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect; import mage.abilities.effects.keyword.ScryEffect; @@ -10,25 +7,23 @@ import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; +import java.util.UUID; + /** - * * @author LevelX2 */ public final class GlimmerOfGenius extends CardImpl { public GlimmerOfGenius(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{U}"); + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}"); // Scry 2, then draw two card. You get {E}{E}. this.getSpellAbility().addEffect(new ScryEffect(2)); - Effect effect = new DrawCardSourceControllerEffect(2); - effect.setText(", then draw two card"); - this.getSpellAbility().addEffect(effect); - + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2).concatBy(", then")); this.getSpellAbility().addEffect(new GetEnergyCountersControllerEffect(2)); } - public GlimmerOfGenius(final GlimmerOfGenius card) { + private GlimmerOfGenius(final GlimmerOfGenius card) { super(card); } diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index 42f4efc92f..07fdfda28a 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -46,6 +46,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("Augury Raven", 44, Rarity.COMMON, mage.cards.a.AuguryRaven.class)); cards.add(new SetCardInfo("Barkchannel Pathway", 251, Rarity.RARE, mage.cards.b.BarkchannelPathway.class)); cards.add(new SetCardInfo("Bearded Axe", 388, Rarity.UNCOMMON, mage.cards.b.BeardedAxe.class)); + cards.add(new SetCardInfo("Behold the Multiverse", 46, Rarity.COMMON, mage.cards.b.BeholdTheMultiverse.class)); cards.add(new SetCardInfo("Blightstep Pathway", 252, Rarity.RARE, mage.cards.b.BlightstepPathway.class)); cards.add(new SetCardInfo("Canopy Tactician", 378, Rarity.RARE, mage.cards.c.CanopyTactician.class)); cards.add(new SetCardInfo("Cleaving Reaper", 376, Rarity.RARE, mage.cards.c.CleavingReaper.class));