magarena/release/Magarena/scripts/Fledgling_Griffin.groovy

18 lines
499 B
Groovy

[
new MagicLandfallTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
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));
}
}
]