magarena/release/Magarena/scripts/Sensor_Splicer.groovy

12 lines
387 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.Vigilance);
}
},
MagicWhenComesIntoPlayTrigger.PutGolemOntoTheBattlefield
]