magarena/release/Magarena/scripts/Gavony_Ironwright.groovy

18 lines
574 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicStatic(
2013-06-23 18:29:26 -07:00
MagicLayer.ModPT,
2013-04-12 19:58:51 -07:00
MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL) {
@Override
public void modPowerToughness(
final MagicPermanent source,
final MagicPermanent permanent,
final MagicPowerToughness pt) {
pt.add(1,4);
}
@Override
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return source != target && source.getController().getLife() <= 5;
}
}
]