magarena/release/Magarena/scripts/Krovikan_Mist.groovy

12 lines
410 B
Groovy
Raw Normal View History

2013-05-24 03:34:07 -07:00
[
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);
}
}
]