diff --git a/Mage.Sets/src/mage/cards/d/Discontinuity.java b/Mage.Sets/src/mage/cards/d/Discontinuity.java new file mode 100644 index 0000000000..93e62861f1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/d/Discontinuity.java @@ -0,0 +1,40 @@ +package mage.cards.d; + +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.condition.common.MyTurnCondition; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.EndTurnEffect; +import mage.abilities.effects.common.cost.SpellCostReductionSourceEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Zone; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Discontinuity extends CardImpl { + + public Discontinuity(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}{U}{U}"); + + // As long as it's your turn, this spell costs {2}{U}{U} less to cast. + this.addAbility(new SimpleStaticAbility(Zone.ALL, new SpellCostReductionSourceEffect( + new ManaCostsImpl("{2}{U}{U}"), MyTurnCondition.instance + ).setText("as long as it's your turn, this spell costs {2}{U}{U} less to cast"))); + + // End the turn. + this.getSpellAbility().addEffect(new EndTurnEffect()); + } + + private Discontinuity(final Discontinuity card) { + super(card); + } + + @Override + public Discontinuity copy() { + return new Discontinuity(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2021.java b/Mage.Sets/src/mage/sets/CoreSet2021.java index 3d5a2c80a4..5c08b29540 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2021.java +++ b/Mage.Sets/src/mage/sets/CoreSet2021.java @@ -62,6 +62,7 @@ public final class CoreSet2021 extends ExpansionSet { cards.add(new SetCardInfo("Cultivate", 177, Rarity.UNCOMMON, mage.cards.c.Cultivate.class)); cards.add(new SetCardInfo("Defiant Strike", 15, Rarity.COMMON, mage.cards.d.DefiantStrike.class)); cards.add(new SetCardInfo("Dire Fleet Warmonger", 217, Rarity.UNCOMMON, mage.cards.d.DireFleetWarmonger.class)); + cards.add(new SetCardInfo("Discontinuity", 48, Rarity.MYTHIC, mage.cards.d.Discontinuity.class)); cards.add(new SetCardInfo("Double Vision", 142, Rarity.RARE, mage.cards.d.DoubleVision.class)); cards.add(new SetCardInfo("Drowsing Tyrannodon", 178, Rarity.COMMON, mage.cards.d.DrowsingTyrannodon.class)); cards.add(new SetCardInfo("Duress", 96, Rarity.COMMON, mage.cards.d.Duress.class));