magarena/release/Magarena/scripts/Midnight_Haunting.groovy

24 lines
710 B
Groovy

[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN puts two 1/1 white Spirit creature " +
"tokens with flying onto the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Spirit2"),
2
));
}
}
]