magarena/release/Magarena/scripts/Warmind_Infantry.groovy

23 lines
669 B
Groovy

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