magarena/release/Magarena/scripts/Lost_Order_of_Jarkeld.groovy

10 lines
314 B
Groovy

[
new MagicCDA() {
@Override
public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
final int amount = 1 + player.getOpponent().getNrOfPermanentsWithType(MagicType.Creature);
pt.set(amount,amount);
}
}
]