diff --git a/Mage.Sets/src/mage/cards/b/BlitzOfTheThunderRaptor.java b/Mage.Sets/src/mage/cards/b/BlitzOfTheThunderRaptor.java new file mode 100644 index 0000000000..57f30881d1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BlitzOfTheThunderRaptor.java @@ -0,0 +1,44 @@ +package mage.cards.b; + +import mage.abilities.dynamicvalue.DynamicValue; +import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.effects.common.ExileTargetIfDiesEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.common.FilterInstantOrSorceryCard; +import mage.target.common.TargetPlayerOrPlaneswalker; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BlitzOfTheThunderRaptor extends CardImpl { + + public static final FilterInstantOrSorceryCard filter + = new FilterInstantOrSorceryCard("instant and sorcery cards"); + private static final DynamicValue xValue = new CardsInControllerGraveyardCount(filter); + + public BlitzOfTheThunderRaptor(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}"); + + // Blitz of the Thunder-Raptor deals damage to target creature or planeswalker equal to the number of instant and sorcery cards in your graveyard. If that creature or planeswalker would die this turn, exile it instead. + this.getSpellAbility().addEffect(new DamageTargetEffect(xValue) + .setText("{this} deals damage to target creature or planeswalker " + + "equal to the number of instant and sorcery cards in your graveyard.")); + this.getSpellAbility().addEffect(new ExileTargetIfDiesEffect() + .setText("If that creature or planeswalker would die this turn, exile it instead.")); + this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker()); + } + + private BlitzOfTheThunderRaptor(final BlitzOfTheThunderRaptor card) { + super(card); + } + + @Override + public BlitzOfTheThunderRaptor copy() { + return new BlitzOfTheThunderRaptor(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index 7cd0f44f9e..9bfeb68028 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -68,6 +68,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { cards.add(new SetCardInfo("Archipelagore", 41, Rarity.UNCOMMON, mage.cards.a.Archipelagore.class)); cards.add(new SetCardInfo("Barrier Breach", 145, Rarity.UNCOMMON, mage.cards.b.BarrierBreach.class)); cards.add(new SetCardInfo("Bastion of Remembrance", 73, Rarity.UNCOMMON, mage.cards.b.BastionOfRemembrance.class)); + cards.add(new SetCardInfo("Blitz of the Thunder-Raptor", 109, Rarity.UNCOMMON, mage.cards.b.BlitzOfTheThunderRaptor.class)); cards.add(new SetCardInfo("Blood Curdle", 75, Rarity.COMMON, mage.cards.b.BloodCurdle.class)); cards.add(new SetCardInfo("Boneyard Lurker", 178, Rarity.UNCOMMON, mage.cards.b.BoneyardLurker.class)); cards.add(new SetCardInfo("Boon of the Wish-Giver", 43, Rarity.UNCOMMON, mage.cards.b.BoonOfTheWishGiver.class));