magarena/release/Magarena/scripts/Glory_of_Warfare.groovy

16 lines
476 B
Groovy
Raw Normal View History

2013-06-23 18:29:26 -07:00
[
2013-03-13 05:52:31 -07:00
new MagicStatic(
2013-06-23 18:29:26 -07:00
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
}
]