magarena/release/Magarena/scripts/Nav_Squad_Commandos.groovy

24 lines
750 B
Groovy

[
new MagicBattalionTrigger() {
@Override
public MagicEvent executeTrigger(
final MagicGame game,
final MagicPermanent permanent,
final MagicPermanent attacker) {
return new MagicEvent(
permanent,
this,
"SN gets +1/+1 until end of turn. Untap it."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),2,2));
game.doAction(new MagicUntapAction(event.getPermanent()));
}
}
]