add Risen Executioner

master
ShawnieBoy 2015-05-24 20:30:45 +01:00
parent 3a931a1807
commit 9a3c7f6330
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,29 @@
[
new MagicGraveyardActivation(
[MagicCondition.SORCERY_CONDITION],
new MagicActivationHints(MagicTiming.Main),
"Cast"
) {
@Override
public Iterable<MagicEvent> getCostEvent(final MagicCard source) {
final int amount = CREATURE_CARD_FROM_GRAVEYARD.except(source).filter(source.getController()).size() + 2;
return [
new MagicPayManaCostEvent(source, "{"+amount+"}{B}{B}")
];
}
public MagicEvent getCardEvent(final MagicCard source, final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"Play SN."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new ReanimateAction(event.getCard(), event.getPlayer()));
}
}
]

View File

@ -7,7 +7,7 @@ subtype=Zombie,Warrior
cost={2}{B}{B}
pt=4/3
ability=SN can't block.;\
Other Zombie creatures you control get +1/+1.;\
You may cast SN from your graveyard if you pay {1} more to cast it for each other creature card in your graveyard.
Other Zombie creatures you control get +1/+1.
timing=main
requires_groovy_code
oracle=Risen Executioner can't block.\nOther Zombie creatures you control get +1/+1.\nYou may cast Risen Executioner from your graveyard if you pay {1} more to cast it for each other creature card in your graveyard.