From 66913062194d156e57ff7a726987a0c20ea86a81 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Mon, 13 Jan 2020 06:33:20 +0400 Subject: [PATCH] fixed Pharika's Libation (missing mode) --- Mage.Sets/src/mage/cards/p/PharikasLibation.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/p/PharikasLibation.java b/Mage.Sets/src/mage/cards/p/PharikasLibation.java index 2a842ad8d5..af543ea74d 100644 --- a/Mage.Sets/src/mage/cards/p/PharikasLibation.java +++ b/Mage.Sets/src/mage/cards/p/PharikasLibation.java @@ -1,5 +1,6 @@ package mage.cards.p; +import mage.abilities.Mode; import mage.abilities.effects.common.SacrificeEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; @@ -25,10 +26,11 @@ public final class PharikasLibation extends CardImpl { this.getSpellAbility().addTarget(new TargetOpponent()); // • Target opponent sacrifices an enchantment. - this.getSpellAbility().addEffect(new SacrificeEffect( + Mode mode = new Mode(new SacrificeEffect( StaticFilters.FILTER_ENCHANTMENT_PERMANENT, 1, "Target opponent" )); - this.getSpellAbility().addTarget(new TargetOpponent()); + mode.addTarget(new TargetOpponent()); + this.getSpellAbility().addMode(mode); } private PharikasLibation(final PharikasLibation card) {