From 466150cf1946257f3690d2f06539fbba4538e7e8 Mon Sep 17 00:00:00 2001 From: Evan Kranzler <theelk801@gmail.com> Date: Sat, 21 Apr 2018 08:11:36 -0400 Subject: [PATCH] fixed Yawgmoth's Vile Offering requiring a permanent to target --- Mage.Sets/src/mage/cards/y/YawgmothsVileOffering.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/y/YawgmothsVileOffering.java b/Mage.Sets/src/mage/cards/y/YawgmothsVileOffering.java index 12654c0636..1c172cdd89 100644 --- a/Mage.Sets/src/mage/cards/y/YawgmothsVileOffering.java +++ b/Mage.Sets/src/mage/cards/y/YawgmothsVileOffering.java @@ -10,6 +10,7 @@ import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.*; +import mage.filter.common.FilterCreatureOrPlaneswalkerPermanent; import mage.filter.common.FilterPermanentCard; import mage.filter.predicate.Predicates; import mage.filter.predicate.mageobject.CardTypePredicate; @@ -20,8 +21,7 @@ import mage.target.common.TargetCardInGraveyard; import mage.target.common.TargetCreatureOrPlaneswalker; /** - * @author JRHerlehy - * Created on 4/8/18. + * @author JRHerlehy Created on 4/8/18. */ public class YawgmothsVileOffering extends CardImpl { @@ -45,7 +45,7 @@ public class YawgmothsVileOffering extends CardImpl { // Destroy up to one target creature or planeswalker. Exile Yawgmoth’s Vile Offering. this.getSpellAbility().addEffect(new YawgmothsVireOfferingEffect()); this.getSpellAbility().addTarget(new TargetCardInGraveyard(0, 1, cardFilter)); - this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); + this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker(0, 1, new FilterCreatureOrPlaneswalkerPermanent(), false)); this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }