18 lines
575 B
Groovy
18 lines
575 B
Groovy
[
|
|
new MagicStatic(
|
|
MagicLayer.ModPT,
|
|
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;
|
|
}
|
|
}
|
|
]
|