Menu

Submission for Kagemaro's Clutch

74

Config

name=Kagemaro's Clutch
image=http://mtgimage.com/card/kagemaro%27s%20clutch.jpg
value=2.500
rarity=C
type=Enchantment
subtype=Aura
cost={3}{B}
timing=aura
enchant=weaken,neg creature
requires_groovy_code
oracle=Enchant creature. Enchanted creature gets -X/-X, where X is the number of cards in your hand.

Script

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