magarena/release/Magarena/scripts/Roc_Egg.groovy

18 lines
546 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicWhenDiesTrigger() {
2013-04-12 19:58:51 -07:00
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts a 3/3 white Bird creature token with flying onto the battlefield."
);
2013-04-12 19:58:51 -07:00
}
2013-06-23 18:29:26 -07:00
2013-04-12 19:58:51 -07:00
@Override
2013-06-15 06:13:32 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-04-12 19:58:51 -07:00
game.doAction(new MagicPlayTokenAction(event.getPlayer(),TokenCardDefinitions.get("Bird")));
}
}
]