magarena/release/Magarena/scripts/Daring_Skyjek.groovy

22 lines
639 B
Groovy
Raw Normal View History

2013-02-16 21:58:05 -08:00
[
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,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2013-02-16 21:58:05 -08:00
game.doAction(new MagicSetAbilityAction(event.getPermanent(),MagicAbility.Flying));
}
}
]