magarena/release/Magarena/scripts/Broodmate_Dragon.groovy

19 lines
643 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
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
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(
2011-08-11 07:49:17 -07:00
final MagicGame game,
2013-03-22 22:00:53 -07:00
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
}
]