magarena/release/Magarena/scripts/Symbiotic_Wurm.groovy

24 lines
690 B
Groovy

[
new MagicWhenDiesTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts seven 1/1 green Insect creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Insect4"),
7
));
}
}
]