magarena/release/Magarena/scripts/Midnight_Haunting.groovy

24 lines
733 B
Groovy
Raw Normal View History

2013-03-18 02:53:12 -07:00
[
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,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2013-03-18 02:53:12 -07:00
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Spirit2"),
2
));
}
}
]