11 lines
360 B
Groovy
11 lines
360 B
Groovy
[
|
|
new MagicStatic(MagicLayer.Ability) {
|
|
@Override
|
|
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
|
if (MagicCondition.METALCRAFT_CONDITION.accept(permanent)) {
|
|
flags.add(MagicAbility.ProtectionFromAllColors);
|
|
}
|
|
}
|
|
}
|
|
]
|