Menu

Submission for Nighthowler

129

Config

name=Nighthowler
url=http://magiccards.info/ths/en/98.html
image=http://magiccards.info/scans/en/ths/98.jpg
value=3.603
rarity=R
type=Enchantment,Creature
subtype=Horror
cost={1}{B}{B}
pt=0/0
timing=main
requires_groovy_code

Script

[
    new MagicStatic(MagicLayer.ModPT) {
        @Override
        public void modPowerToughness(final MagicPermanent source, final MagicPermanent permanent, final MagicPowerToughness pt) {
            final int size =
                game.filterCards(player,MagicTargetFilterFactory.CREATURE_CARD_FROM_ALL_GRAVEYARDS).size();							 
            pt.add(size,size);
        }
        @Override
        public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return source == target || MagicStatic.acceptLinked(game, source, target);
        }
    }
]
Pushed