14 lines
541 B
Groovy
14 lines
541 B
Groovy
[
|
|
new MagicStatic(MagicLayer.ModPT) {
|
|
@Override
|
|
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
|
|
final int amount = source.getController().getNrOfPermanents(MagicSubType.Plains);
|
|
pt.add(amount,amount);
|
|
}
|
|
@Override
|
|
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
|
return MagicStatic.acceptLinked(game, source, target);
|
|
}
|
|
}
|
|
]
|