magarena/release/Magarena/scripts/Rusting_Golem.groovy

14 lines
388 B
Groovy

[
new MagicCDA() {
@Override
public void modPowerToughness(
final MagicGame game,
final MagicPlayer player,
final MagicPermanent permanent,
final MagicPowerToughness pt) {
final int amount = permanent.getCounters(MagicCounterType.Charge);
pt.set(amount,amount);
}
}
]