Menu

Submission for Mogg Squad

192

Config

name=Mogg Squad
image=http://mtgimage.com/card/mogg%20squad.jpg
value=2.500
rarity=U
type=Creature
subtype=Goblin
cost={1}{R}
pt=3/3
timing=main
requires_groovy_code
oracle=Mogg Squad gets -1/-1 for each other creature on the battlefield.

Script

[
    new MagicStatic(MagicLayer.ModPT) {
        @Override
        public void modPowerToughness(final MagicPermanent source, final MagicPermanent permanent, final MagicPowerToughness pt) {
            final int amount = source.getGame().getNrOfPermanents(MagicType.Creature) - 1;
            pt.add(-amount,-amount);
        }
    }
]
Pushed