magarena/release/Magarena/scripts/Broodmate_Dragon.groovy

17 lines
616 B
Groovy
Raw Normal View History

2013-03-13 22:26:56 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
2012-06-17 05:19:08 -07:00
@Override
2013-06-19 07:23:35 -07:00
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) {
2012-06-17 05:19:08 -07:00
return new MagicEvent(
2012-09-21 20:46:53 -07:00
permanent,
this,
"PN puts a 4/4 red Dragon creature token with flying onto the battlefield."
);
2012-06-17 05:19:08 -07:00
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2012-08-30 06:01:39 -07:00
game.doAction(new MagicPlayTokenAction(event.getPlayer(),TokenCardDefinitions.get("Dragon4")));
2012-06-17 05:19:08 -07:00
}
2013-03-13 22:26:56 -07:00
}
]