mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
Implemented Pharika's Libation
This commit is contained in:
parent
92ea80eaf0
commit
c02f5c301c
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/p/PharikasLibation.java
Normal file
42
Mage.Sets/src/mage/cards/p/PharikasLibation.java
Normal file
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
|
@ -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("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("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("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("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("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));
|
cards.add(new SetCardInfo("Pious Wayfarer", 32, Rarity.COMMON, mage.cards.p.PiousWayfarer.class));
|
||||||
|
|
Loading…
Reference in a new issue