20 lines
607 B
Groovy
20 lines
607 B
Groovy
[
|
|
new MagicBattalionTrigger() {
|
|
@Override
|
|
public MagicEvent executeTrigger(
|
|
final MagicGame game,
|
|
final MagicPermanent permanent,
|
|
final MagicPermanent attacker) {
|
|
return new MagicEvent(
|
|
permanent,
|
|
this,
|
|
"SN gains flying until end of turn."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
game.doAction(new MagicGainAbilityAction(event.getPermanent(),MagicAbility.Flying));
|
|
}
|
|
}
|
|
]
|