magarena/release/Magarena/scripts/Dauthi_Warlord.groovy

10 lines
328 B
Groovy
Raw Normal View History

[
new MagicCDA() {
@Override
public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
final int size = game.filterPermanents(player,MagicTargetFilter.TARGET_CREATURE_WITH_SHADOW).size();
pt.setPower(size);
}
}
]