From a08e86be97bf89b2f50ab4dfa54afb2f79ebdf2c Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 27 Jul 2015 22:11:51 +0200 Subject: [PATCH] * Recurring Nightmare - Fixed that permanents instead of creatures could be sacrificed to activate the ability. --- Mage.Sets/src/mage/sets/exodus/RecurringNightmare.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/exodus/RecurringNightmare.java b/Mage.Sets/src/mage/sets/exodus/RecurringNightmare.java index 7b1e7534779..200cbf81999 100644 --- a/Mage.Sets/src/mage/sets/exodus/RecurringNightmare.java +++ b/Mage.Sets/src/mage/sets/exodus/RecurringNightmare.java @@ -37,7 +37,7 @@ import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.Rarity; import mage.constants.Zone; -import mage.filter.common.FilterControlledPermanent; +import mage.filter.common.FilterControlledCreaturePermanent; import mage.filter.common.FilterCreatureCard; import mage.target.common.TargetCardInYourGraveyard; import mage.target.common.TargetControlledPermanent; @@ -47,15 +47,14 @@ import mage.target.common.TargetControlledPermanent; * @author jeffwadsworth */ public class RecurringNightmare extends CardImpl { - + private static final FilterCreatureCard filter = new FilterCreatureCard("creature card in your graveyard"); - private static final FilterControlledPermanent filter2 = new FilterControlledPermanent("creature"); + private static final FilterControlledCreaturePermanent filter2 = new FilterControlledCreaturePermanent("creature"); public RecurringNightmare(UUID ownerId) { super(ownerId, 72, "Recurring Nightmare", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{B}"); this.expansionSetCode = "EXO"; - // Sacrifice a creature, Return Recurring Nightmare to its owner's hand: Return target creature card from your graveyard to the battlefield. Activate this ability only any time you could cast a sorcery. Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new ReturnFromGraveyardToBattlefieldTargetEffect(), new SacrificeTargetCost(new TargetControlledPermanent(filter2))); ability.addTarget(new TargetCardInYourGraveyard(filter));