Menu

Submission for Nantuko Blightcutter

131

Config

name=Nantuko Blightcutter
image=http://mtgimage.com/card/nantuko%20blightcutter.jpg
value=3.409
rarity=R
type=Creature
subtype=Insect,Druid
cost={2}{G}
pt=2/2
ability=Protection from black
timing=main
requires_groovy_code
oracle=Protection from black. Threshold — Nantuko Blightcutter gets +1/+1 for each black permanent your opponents control as long as seven or more cards are in your graveyard.

Script

[
    new MagicStatic(MagicLayer.ModPT) {
        @Override
        public void modPowerToughness(
                final MagicPermanent source,
                final MagicPermanent permanent,
                final MagicPowerToughness pt) {
            if (MagicCondition.THRESHOLD_CONDITION.accept(permanent)) {
				final int amt = permanent.getController().getOpponent().getNrOfPermanents(MagicTargetFilterFactory.BLACK_PERMANENT);
                pt.add(amt,amt);
            }
        }
    }
]
Pushed