magarena/release/Magarena/scripts/Mudbrawler_Cohort.groovy

12 lines
454 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 MagicPermanentFilterImpl filter = new MagicOtherPermanentTargetFilter(MagicTargetFilter.TARGET_RED_CREATURE, source);
if (source.getController().controlsPermanent(filter)) {
2013-04-12 19:58:51 -07:00
pt.add(1,1);
2013-06-23 18:29:26 -07:00
}
2013-04-12 19:58:51 -07:00
}
}
]