magarena/release/Magarena/scripts/Scourge_of_Geier_Reach.groovy

10 lines
353 B
Groovy

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