magarena/release/Magarena/scripts/Krovikan_Mist.groovy

12 lines
408 B
Groovy

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