magarena/release/Magarena/scripts/Krovikan_Mist.groovy

12 lines
386 B
Groovy

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