magarena/release/Magarena/scripts/Goblin_Gaveleer.groovy

11 lines
344 B
Groovy

[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
if (permanent.isEquipped()) {
pt.add(2 * permanent.getEquipmentPermanents().size(),0);
}
}
}
]