diff --git a/Mage.Sets/src/mage/cards/r/RadiantStrike.java b/Mage.Sets/src/mage/cards/r/RadiantStrike.java new file mode 100644 index 00000000000..0ae04145108 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RadiantStrike.java @@ -0,0 +1,49 @@ +package mage.cards.r; + +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.effects.common.GainLifeEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.FilterPermanent; +import mage.filter.predicate.Predicates; +import mage.filter.predicate.permanent.TappedPredicate; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RadiantStrike extends CardImpl { + + private static final FilterPermanent filter = new FilterPermanent("artifact or tapped creature"); + + static { + filter.add(Predicates.or( + CardType.ARTIFACT.getPredicate(), + Predicates.and( + TappedPredicate.TAPPED, + CardType.CREATURE.getPredicate() + ) + )); + } + + public RadiantStrike(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{W}"); + + // Destroy target artifact or tapped creature. You gain 3 life. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetPermanent(filter)); + this.getSpellAbility().addEffect(new GainLifeEffect(3)); + } + + private RadiantStrike(final RadiantStrike card) { + super(card); + } + + @Override + public RadiantStrike copy() { + return new RadiantStrike(this); + } +} diff --git a/Mage.Sets/src/mage/sets/EdgeOfEternities.java b/Mage.Sets/src/mage/sets/EdgeOfEternities.java index 9c7d93ee193..fae2e06cde5 100644 --- a/Mage.Sets/src/mage/sets/EdgeOfEternities.java +++ b/Mage.Sets/src/mage/sets/EdgeOfEternities.java @@ -166,6 +166,7 @@ public final class EdgeOfEternities extends ExpansionSet { cards.add(new SetCardInfo("Pulsar Squadron Ace", 28, Rarity.UNCOMMON, mage.cards.p.PulsarSquadronAce.class)); cards.add(new SetCardInfo("Quantum Riddler", 305, Rarity.MYTHIC, mage.cards.q.QuantumRiddler.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Quantum Riddler", 72, Rarity.MYTHIC, mage.cards.q.QuantumRiddler.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Radiant Strike", 29, Rarity.COMMON, mage.cards.r.RadiantStrike.class)); cards.add(new SetCardInfo("Ragost, Deft Gastronaut", 224, Rarity.RARE, mage.cards.r.RagostDeftGastronaut.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Ragost, Deft Gastronaut", 300, Rarity.RARE, mage.cards.r.RagostDeftGastronaut.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Red Tiger Mechan", 154, Rarity.COMMON, mage.cards.r.RedTigerMechan.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 2cd0eeb1b76..8291ace6dc4 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -59122,6 +59122,7 @@ Hardlight Containment|Edge of Eternities|20|R|{W}|Enchantment - Aura|||Enchant a Honored Knight-Captain|Edge of Eternities|22|U|{1}{W}|Creature - Human Advisor Knight|1|1|When this creature enters, create a 1/1 white Human Soldier creature token.${4}{W}{W}, Sacrifice this creature: Search your library for an Equipment card, put it onto the battlefield, then shuffle.| Luxknight Breacher|Edge of Eternities|26|C|{3}{W}|Creature - Human Knight|2|2|This creature enters with a +1/+1 counter on it for each other creature and/or artifact you control.| Pulsar Squadron Ace|Edge of Eternities|28|U|{1}{W}|Creature - Human Pilot|1|2|When this creature enters, look at the top five cards of your library. You may reveal a Spacecraft card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. If you didn't put a card into your hand this way, put a +1/+1 counter on this creature.| +Radiant Strike|Edge of Eternities|29|C|{3}{W}|Instant|||Destroy target artifact or tapped creature. You gain 3 life.| Reroute Systems|Edge of Eternities|31|U|{W}|Instant|||Choose one --$* Target artifact or creature gains indestructible until end of turn.$* Reroute Systems deals 2 damage to target tapped creature.| Rescue Skiff|Edge of Eternities|32|U|{5}{W}|Artifact - Spacecraft|||When this Spacecraft enters, return target creature or enchantment card from your graveyard to the battlefield.$Station$STATION 10+$Flying$5/6| Scout for Survivors|Edge of Eternities|33|U|{2}{W}|Sorcery|||Return up to three target creature cards with total mana value 3 or less from your graveyard to the battlefield. Put a +1/+1 counter on each of them.|