16 lines
558 B
Groovy
16 lines
558 B
Groovy
[
|
|
new MagicStatic(
|
|
MagicLayer.ModPT,
|
|
MagicTargetFilter.TARGET_ELF_YOU_CONTROL) {
|
|
@Override
|
|
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
|
|
final int amount = source.getCounters(MagicCounterType.PlusOne);
|
|
pt.add(amount, amount);
|
|
}
|
|
@Override
|
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
|
return source != target;
|
|
}
|
|
}
|
|
]
|