magarena/release/Magarena/scripts/Glory_of_Warfare.groovy

16 lines
481 B
Groovy
Raw Normal View History

2013-03-13 05:52:31 -07:00
[
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
final MagicGame game = source.getGame();
2012-06-17 05:19:08 -07:00
if (game.hasTurn(permanent.getController())) {
pt.add(2,0);
} else {
pt.add(0,2);
}
}
2013-03-13 05:52:31 -07:00
}
]