Menu

Submission for Wight of Precinct Six

118

Config

name=Wight of Precinct Six
url=http://magiccards.info/ddm/en/46.html
image=http://magiccards.info/scans/en/ddm/46.jpg
value=3.778
rarity=U
type=Creature
subtype=Zombie
cost={1}{B}
pt=1/1
timing=fmain
requires_groovy_code

Script

[
	new MagicStatic(MagicLayer.ModPT) {
		@Override
		public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
			final MagicGame game = source.getGame();
			final int size =
				game.filterCards(player,MagicTargetFilterFactory.CREATURE_CARD_FROM_OPPONENT_GRAVEYARDS).size();         
			pt.add(size,size);
		}
	}
]
Pushed