diff --git a/Mage.Sets/src/mage/cards/a/AggressiveSabotage.java b/Mage.Sets/src/mage/cards/a/AggressiveSabotage.java new file mode 100644 index 00000000000..f4ad7398405 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AggressiveSabotage.java @@ -0,0 +1,45 @@ +package mage.cards.a; + +import java.util.UUID; + +import mage.abilities.condition.common.KickedCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.effects.common.discard.DiscardTargetEffect; +import mage.abilities.keyword.KickerAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.TargetPlayer; + +/** + * + * @author weirddan455 + */ +public final class AggressiveSabotage extends CardImpl { + + public AggressiveSabotage(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}"); + + // Kicker {R} + this.addAbility(new KickerAbility("{R}")); + + // Target player discards two cards. If this spell was kicked, it deals 3 damage to that player. + this.getSpellAbility().addEffect(new DiscardTargetEffect(2)); + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new DamageTargetEffect(3), + KickedCondition.ONCE, + "If this spell was kicked, it deals 3 damage to that player." + )); + this.getSpellAbility().addTarget(new TargetPlayer()); + } + + private AggressiveSabotage(final AggressiveSabotage card) { + super(card); + } + + @Override + public AggressiveSabotage copy() { + return new AggressiveSabotage(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnited.java b/Mage.Sets/src/mage/sets/DominariaUnited.java index ca66eaed42a..26eac369386 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnited.java +++ b/Mage.Sets/src/mage/sets/DominariaUnited.java @@ -35,6 +35,7 @@ public final class DominariaUnited extends ExpansionSet { cards.add(new SetCardInfo("Academy Wall", 41, Rarity.COMMON, mage.cards.a.AcademyWall.class)); cards.add(new SetCardInfo("Adarkar Wastes", 243, Rarity.RARE, mage.cards.a.AdarkarWastes.class)); cards.add(new SetCardInfo("Aether Channeler", 42, Rarity.RARE, mage.cards.a.AetherChanneler.class)); + cards.add(new SetCardInfo("Aggressive Sabotage", 78, Rarity.COMMON, mage.cards.a.AggressiveSabotage.class)); cards.add(new SetCardInfo("Ajani, Sleeper Agent", 192, Rarity.MYTHIC, mage.cards.a.AjaniSleeperAgent.class)); cards.add(new SetCardInfo("Archangel of Wrath", 3, Rarity.RARE, mage.cards.a.ArchangelOfWrath.class)); cards.add(new SetCardInfo("Argivian Cavalier", 4, Rarity.COMMON, mage.cards.a.ArgivianCavalier.class));