magarena/release/Magarena/scripts/Symbiotic_Elf.groovy

21 lines
608 B
Groovy
Raw Normal View History

2013-03-13 22:23:42 -07:00
[
new MagicWhenDiesTrigger() {
2012-10-05 21:56:26 -07:00
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts two 1/1 green Insect creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
2013-06-23 18:29:26 -07:00
event.getPlayer(),
TokenCardDefinitions.get("Insect4"),
2
));
2012-10-05 21:56:26 -07:00
}
2013-03-13 22:23:42 -07:00
}
]