magarena/release/Magarena/scripts/Loam_Lion.groovy

14 lines
510 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
final MagicGame game = source.getGame();
final Collection<MagicPermanent> targets =
game.filterPermanents(permanent.getController(),MagicTargetFilter.TARGET_FOREST_YOU_CONTROL);
if (targets.size() > 0) {
pt.add(1,2);
2013-06-23 18:29:26 -07:00
}
2013-04-12 19:58:51 -07:00
}
}
]