mirror of
https://github.com/correl/mage.git
synced 2025-01-14 03:00:10 +00:00
Implemented Aphemia the Cacophony
This commit is contained in:
parent
65c960de69
commit
06657e4980
2 changed files with 56 additions and 0 deletions
55
Mage.Sets/src/mage/cards/a/AphemiaTheCacophony.java
Normal file
55
Mage.Sets/src/mage/cards/a/AphemiaTheCacophony.java
Normal file
|
@ -0,0 +1,55 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.abilities.costs.common.ExileFromGraveCost;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.common.FilterEnchantmentCard;
|
||||
import mage.game.permanent.token.ZombieToken;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AphemiaTheCacophony extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterEnchantmentCard();
|
||||
|
||||
public AphemiaTheCacophony(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HARPY);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// At the beginning of your end step, you may exile an enchantment card from your graveyard. If you do, create a 2/2 black Zombie creature token.
|
||||
this.addAbility(new BeginningOfEndStepTriggeredAbility(new DoIfCostPaid(
|
||||
new CreateTokenEffect(new ZombieToken()),
|
||||
new ExileFromGraveCost(new TargetCardInYourGraveyard(filter))
|
||||
), TargetController.YOU, false));
|
||||
}
|
||||
|
||||
private AphemiaTheCacophony(final AphemiaTheCacophony card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AphemiaTheCacophony copy() {
|
||||
return new AphemiaTheCacophony(this);
|
||||
}
|
||||
}
|
|
@ -27,6 +27,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
|
|||
this.maxCardNumberInBooster = 254;
|
||||
|
||||
cards.add(new SetCardInfo("Allure of the Unknown", 207, Rarity.RARE, mage.cards.a.AllureOfTheUnknown.class));
|
||||
cards.add(new SetCardInfo("Aphemia the Cacophony", 84, Rarity.RARE, mage.cards.a.AphemiaTheCacophony.class));
|
||||
cards.add(new SetCardInfo("Ashiok, Nightmare Muse", 208, Rarity.MYTHIC, mage.cards.a.AshiokNightmareMuse.class));
|
||||
cards.add(new SetCardInfo("Ashiok, Sculptor of Fears", 274, Rarity.MYTHIC, mage.cards.a.AshiokSculptorOfFears.class));
|
||||
cards.add(new SetCardInfo("Athreos, Shroud-Veiled", 269, Rarity.MYTHIC, mage.cards.a.AthreosShroudVeiled.class));
|
||||
|
|
Loading…
Reference in a new issue