magarena/release/Magarena/scripts/Mire_Kavu.groovy

11 lines
345 B
Groovy

[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
if (source.getController().getNrOfPermanentsWithSubType(MagicSubType.Swamp) > 0) {
pt.add(1,1);
}
}
}
]