magarena/release/Magarena/scripts/Hornet_Queen.groovy

20 lines
726 B
Groovy
Raw Normal View History

2013-03-17 23:07:47 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
2012-10-05 20:48:33 -07:00
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPlayer player) {
return new MagicEvent(
permanent,
this,
"PN puts four 1/1 green Insect creature tokens with flying and deathtouch onto the battlefield.");
}
@Override
public void executeEvent(
final MagicGame game,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2012-10-05 20:48:33 -07:00
for (int i = 0 ; i < 4; i++) {
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Insect3")));
}
}
2013-03-17 23:07:47 -07:00
}
]