magarena/release/Magarena/scripts/Anurid_Barkripper.groovy

14 lines
373 B
Groovy

[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(
final MagicPermanent source,
final MagicPermanent permanent,
final MagicPowerToughness pt) {
if (MagicCondition.THRESHOLD_CONDITION.accept(permanent)) {
pt.add(2,2);
}
}
}
]