magarena/release/Magarena/scripts/Ezuri_s_Brigade.groovy

19 lines
664 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.Trample);
}
}
},
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
if (MagicCondition.METALCRAFT_CONDITION.accept(permanent)) {
pt.add(4,4);
}
}
}
]