From c357576ac2b4e5cee75ce0f37092298fae024b92 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Tue, 15 Jul 2025 21:11:00 -0400 Subject: [PATCH] [EOE] Implement Space-Time Anomaly --- .../src/mage/cards/s/SpaceTimeAnomaly.java | 34 +++++++++++++++++++ Mage.Sets/src/mage/sets/EdgeOfEternities.java | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SpaceTimeAnomaly.java diff --git a/Mage.Sets/src/mage/cards/s/SpaceTimeAnomaly.java b/Mage.Sets/src/mage/cards/s/SpaceTimeAnomaly.java new file mode 100644 index 00000000000..04573e267a4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SpaceTimeAnomaly.java @@ -0,0 +1,34 @@ +package mage.cards.s; + +import mage.abilities.dynamicvalue.common.ControllerLifeCount; +import mage.abilities.effects.common.MillCardsTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.TargetPlayer; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SpaceTimeAnomaly extends CardImpl { + + public SpaceTimeAnomaly(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{W}{U}"); + + // Target player mills cards equal to your life total. + this.getSpellAbility().addEffect(new MillCardsTargetEffect(ControllerLifeCount.instance) + .setText("target player mills cards equal to your life total")); + this.getSpellAbility().addTarget(new TargetPlayer()); + } + + private SpaceTimeAnomaly(final SpaceTimeAnomaly card) { + super(card); + } + + @Override + public SpaceTimeAnomaly copy() { + return new SpaceTimeAnomaly(this); + } +} diff --git a/Mage.Sets/src/mage/sets/EdgeOfEternities.java b/Mage.Sets/src/mage/sets/EdgeOfEternities.java index fd587d3b1e9..a7a30b0c276 100644 --- a/Mage.Sets/src/mage/sets/EdgeOfEternities.java +++ b/Mage.Sets/src/mage/sets/EdgeOfEternities.java @@ -211,6 +211,8 @@ public final class EdgeOfEternities extends ExpansionSet { cards.add(new SetCardInfo("Sothera, the Supervoid", 360, Rarity.MYTHIC, mage.cards.s.SotheraTheSupervoid.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Sothera, the Supervoid", 382, Rarity.MYTHIC, mage.cards.s.SotheraTheSupervoid.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Sothera, the Supervoid", 386, Rarity.MYTHIC, mage.cards.s.SotheraTheSupervoid.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Space-Time Anomaly", 229, Rarity.RARE, mage.cards.s.SpaceTimeAnomaly.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Space-Time Anomaly", 315, Rarity.RARE, mage.cards.s.SpaceTimeAnomaly.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Specimen Freighter", 76, Rarity.UNCOMMON, mage.cards.s.SpecimenFreighter.class)); cards.add(new SetCardInfo("Starbreach Whale", 77, Rarity.COMMON, mage.cards.s.StarbreachWhale.class)); cards.add(new SetCardInfo("Starfield Shepherd", 37, Rarity.UNCOMMON, mage.cards.s.StarfieldShepherd.class, NON_FULL_USE_VARIOUS));