magarena/release/Magarena/scripts/Sejiri_Merfolk.groovy

12 lines
409 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.Plains)) {
flags.add(MagicAbility.FirstStrike);
flags.add(MagicAbility.Lifelink);
}
}
}
]