magarena/release/Magarena/scripts/Eyes_in_the_Skies.groovy

19 lines
684 B
Groovy
Raw Normal View History

2013-02-18 05:49:20 -08:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Put a 1/1 white Bird creature token with flying onto the battlefield, then populate.");
}
@Override
public void executeEvent(
final MagicGame game,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2013-02-18 05:49:20 -08:00
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Bird1")));
game.addEvent(new MagicPopulateEvent(event.getSource()));
}
}
]