magarena/release/Magarena/scripts/Beast_of_Burden.groovy

12 lines
380 B
Groovy
Raw Normal View History

2013-05-24 04:00:37 -07:00
[
new MagicCDA() {
@Override
public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
2013-06-23 18:29:26 -07:00
final int amount =
player.getNrOfPermanents(MagicType.Creature) +
player.getOpponent().getNrOfPermanents(MagicType.Creature);
2013-05-24 04:00:37 -07:00
pt.set(amount,amount);
}
}
]