magarena/release/Magarena/scripts/Soltari_Lancer.groovy

14 lines
382 B
Groovy
Raw Normal View History

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