16 lines
517 B
Groovy
16 lines
517 B
Groovy
[
|
|
new MagicStatic(MagicLayer.ModPT) {
|
|
@Override
|
|
public void modPowerToughness(
|
|
final MagicPermanent source,
|
|
final MagicPermanent permanent,
|
|
final MagicPowerToughness pt) {
|
|
final MagicGame game = source.getGame();
|
|
final int size = game.filterPermanents(
|
|
permanent.getController(),
|
|
MagicTargetFilter.TARGET_SQUIRREL_CREATURE).size() - 1;
|
|
pt.add(size,size);
|
|
}
|
|
}
|
|
]
|