magarena/release/Magarena/scripts/Mausoleum_Guard.groovy

22 lines
641 B
Groovy

[
new MagicWhenDiesTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts two 1/1 white Spirit creature " +
"tokens with flying onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Spirit2"),
2
));
}
}
]