diff --git a/Mage.Sets/src/mage/cards/p/PharikasLibation.java b/Mage.Sets/src/mage/cards/p/PharikasLibation.java new file mode 100644 index 0000000000..2a842ad8d5 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PharikasLibation.java @@ -0,0 +1,42 @@ +package mage.cards.p; + +import mage.abilities.effects.common.SacrificeEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.StaticFilters; +import mage.target.common.TargetOpponent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PharikasLibation extends CardImpl { + + public PharikasLibation(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{B}"); + + // Choose one — + // • Target opponent sacrifices a creature. + this.getSpellAbility().addEffect(new SacrificeEffect( + StaticFilters.FILTER_PERMANENT_CREATURE, 1, "Target opponent" + )); + this.getSpellAbility().addTarget(new TargetOpponent()); + + // • Target opponent sacrifices an enchantment. + this.getSpellAbility().addEffect(new SacrificeEffect( + StaticFilters.FILTER_ENCHANTMENT_PERMANENT, 1, "Target opponent" + )); + this.getSpellAbility().addTarget(new TargetOpponent()); + } + + private PharikasLibation(final PharikasLibation card) { + super(card); + } + + @Override + public PharikasLibation copy() { + return new PharikasLibation(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index ca19ec1319..f9b6cda572 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -149,6 +149,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("One with the Stars", 59, Rarity.UNCOMMON, mage.cards.o.OneWithTheStars.class)); cards.add(new SetCardInfo("Oread of Mountain's Blaze", 146, Rarity.COMMON, mage.cards.o.OreadOfMountainsBlaze.class)); cards.add(new SetCardInfo("Ox of Agonas", 147, Rarity.MYTHIC, mage.cards.o.OxOfAgonas.class)); + cards.add(new SetCardInfo("Pharika's Libation", 111, Rarity.COMMON, mage.cards.p.PharikasLibation.class)); cards.add(new SetCardInfo("Pharika's Spawn", 112, Rarity.UNCOMMON, mage.cards.p.PharikasSpawn.class)); cards.add(new SetCardInfo("Phoenix of Ash", 148, Rarity.RARE, mage.cards.p.PhoenixOfAsh.class)); cards.add(new SetCardInfo("Pious Wayfarer", 32, Rarity.COMMON, mage.cards.p.PiousWayfarer.class));