magarena/release/Magarena/scripts/Armory_Guard.groovy

11 lines
355 B
Groovy

[
new MagicStatic(MagicLayer.Ability) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
if (permanent.getController().controlsPermanent(MagicSubType.Gate)) {
flags.add(MagicAbility.Vigilance);
}
}
}
]