magarena/release/Magarena/scripts/Knight_Watch.groovy

21 lines
659 B
Groovy
Raw Normal View History

2013-05-24 03:25:51 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN puts two 2/2 white Knight creature tokens with vigilance onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Knight2"),
2
));
}
}
]