magarena/release/Magarena/scripts/Mwonvuli_Ooze.groovy

14 lines
396 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) * 2 + 1;
pt.set(amount,amount);
}
}
]