magarena/release/Magarena/scripts/Earthen_Goo.groovy

10 lines
321 B
Groovy

[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
final int amount = permanent.getCounters(MagicCounterType.Charge);
pt.add(amount,amount);
}
}
]