magarena/release/Magarena/scripts/Flinthoof_Boar.groovy

11 lines
333 B
Groovy

[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
if (source.getController().controlsPermanent(MagicSubType.Mountain)) {
pt.add(1,1);
}
}
}
]