diff --git a/Mage.Sets/src/mage/cards/c/Cinderclasm.java b/Mage.Sets/src/mage/cards/c/Cinderclasm.java new file mode 100644 index 0000000000..24abdacc47 --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/Cinderclasm.java @@ -0,0 +1,43 @@ +package mage.cards.c; + +import mage.abilities.condition.common.KickedCondition; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.DamageAllEffect; +import mage.abilities.keyword.KickerAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Cinderclasm extends CardImpl { + + public Cinderclasm(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}"); + + // Kicker {R} + this.addAbility(new KickerAbility(new ManaCostsImpl<>("{R}"))); + + // Cinderclasm deals 1 damage to each creature. If it was kicked, it deals 2 damage to each creature instead. + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new DamageAllEffect(2, StaticFilters.FILTER_PERMANENT_CREATURE), + new DamageAllEffect(1, StaticFilters.FILTER_PERMANENT_CREATURE), + KickedCondition.instance, "{this} deals 1 damage to each creature. " + + "If it was kicked, it deals 2 damage to each creature instead" + )); + } + + private Cinderclasm(final Cinderclasm card) { + super(card); + } + + @Override + public Cinderclasm copy() { + return new Cinderclasm(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index a0de0fdf67..28cdf0f443 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -93,6 +93,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Broken Wings", 181, Rarity.COMMON, mage.cards.b.BrokenWings.class)); cards.add(new SetCardInfo("Bubble Snare", 47, Rarity.COMMON, mage.cards.b.BubbleSnare.class)); cards.add(new SetCardInfo("Cascade Seer", 48, Rarity.COMMON, mage.cards.c.CascadeSeer.class)); + cards.add(new SetCardInfo("Cinderclasm", 136, Rarity.UNCOMMON, mage.cards.c.Cinderclasm.class)); cards.add(new SetCardInfo("Clearwater Pathway", 260, Rarity.RARE, mage.cards.c.ClearwaterPathway.class)); cards.add(new SetCardInfo("Cleric of Life's Bond", 222, Rarity.UNCOMMON, mage.cards.c.ClericOfLifesBond.class)); cards.add(new SetCardInfo("Cliffhaven Sell-Sword", 8, Rarity.COMMON, mage.cards.c.CliffhavenSellSword.class));