magarena/release/Magarena/scripts/Ardent_Recruit.groovy

11 lines
323 B
Groovy

[
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(2,2);
}
}
}
]