magarena/release/Magarena/scripts/Seller_of_Songbirds.groovy

17 lines
616 B
Groovy
Raw Normal View History

2013-03-13 22:27:36 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
2012-10-05 21:27:22 -07:00
@Override
2013-06-19 07:23:35 -07:00
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
2012-10-05 21:27:22 -07:00
return new MagicEvent(
permanent,
this,
"PN puts a 1/1 white Bird creature token with flying onto the battlefield."
);
}
@Override
2013-06-15 03:09:37 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
2012-10-05 21:27:22 -07:00
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Bird1")));
}
2013-03-13 22:27:36 -07:00
}
]