magarena/release/Magarena/scripts/Wing_Splicer.groovy

12 lines
384 B
Groovy

[
new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_GOLEM_YOU_CONTROL) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.Flying);
}
},
MagicWhenComesIntoPlayTrigger.PutGolemOntoTheBattlefield
]