mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
fixed Pharika's Libation (missing mode)
This commit is contained in:
parent
079a404d79
commit
6691306219
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
package mage.cards.p;
|
package mage.cards.p;
|
||||||
|
|
||||||
|
import mage.abilities.Mode;
|
||||||
import mage.abilities.effects.common.SacrificeEffect;
|
import mage.abilities.effects.common.SacrificeEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
|
@ -25,10 +26,11 @@ public final class PharikasLibation extends CardImpl {
|
||||||
this.getSpellAbility().addTarget(new TargetOpponent());
|
this.getSpellAbility().addTarget(new TargetOpponent());
|
||||||
|
|
||||||
// • Target opponent sacrifices an enchantment.
|
// • Target opponent sacrifices an enchantment.
|
||||||
this.getSpellAbility().addEffect(new SacrificeEffect(
|
Mode mode = new Mode(new SacrificeEffect(
|
||||||
StaticFilters.FILTER_ENCHANTMENT_PERMANENT, 1, "Target opponent"
|
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) {
|
private PharikasLibation(final PharikasLibation card) {
|
||||||
|
|
Loading…
Reference in a new issue