magarena/release/Magarena/scripts/Captain_s_Call.groovy

21 lines
647 B
Groovy
Raw Normal View History

2013-05-24 07:27:10 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN puts three 1/1 white Soldier creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Soldier"),
3
));
}
}
]