diff --git a/Mage.Sets/src/mage/cards/p/PowerWordKill.java b/Mage.Sets/src/mage/cards/p/PowerWordKill.java new file mode 100644 index 0000000000..e7411367f8 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PowerWordKill.java @@ -0,0 +1,46 @@ +package mage.cards.p; + +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.FilterPermanent; +import mage.filter.common.FilterCreaturePermanent; +import mage.filter.predicate.Predicates; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PowerWordKill extends CardImpl { + + private static final FilterPermanent filter + = new FilterCreaturePermanent("non-Angel, non-Demon, non-Devil, non-Dragon creature"); + + static { + filter.add(Predicates.not(SubType.ANGEL.getPredicate())); + filter.add(Predicates.not(SubType.DEMON.getPredicate())); + filter.add(Predicates.not(SubType.DEVIL.getPredicate())); + filter.add(Predicates.not(SubType.DRAGON.getPredicate())); + } + + public PowerWordKill(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}"); + + // Destroy target non-Angel, non-Demon, non-Devil, non-Dragon creature. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetPermanent(filter)); + } + + private PowerWordKill(final PowerWordKill card) { + super(card); + } + + @Override + public PowerWordKill copy() { + return new PowerWordKill(this); + } +} diff --git a/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java b/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java index 1077a2e5cb..333e4fea6a 100644 --- a/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java +++ b/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java @@ -30,6 +30,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet { cards.add(new SetCardInfo("Mountain", 277, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Plains", 265, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Portable Hole", 33, Rarity.COMMON, mage.cards.p.PortableHole.class)); + cards.add(new SetCardInfo("Power Word Kill", 114, Rarity.UNCOMMON, mage.cards.p.PowerWordKill.class)); cards.add(new SetCardInfo("Swamp", 273, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); } }