[ new MagicStatic(MagicLayer.ModPT) { @Override public void modPowerToughness(final MagicPermanent source, final MagicPermanent permanent, final MagicPowerToughness pt) { final int amt = source.getController().getNrOfPermanents(MagicType.Enchantment) pt.add(amt, amt); } @Override public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) { return MagicStatic.acceptLinked(game, source, target); } } ]