10 lines
328 B
Groovy
10 lines
328 B
Groovy
|
[
|
||
|
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);
|
||
|
}
|
||
|
}
|
||
|
]
|