Menu

Submission for Crusading Knight

12

Config

name=Crusading Knight
image=http://mtgimage.com/card/crusading%20knight.jpg
value=2.500
rarity=R
type=Creature
subtype=Human,Knight
cost={2}{W}{W}
pt=2/2
ability=Protection from black
timing=main
requires_groovy_code
oracle=Protection from black. Crusading Knight gets +1/+1 for each Swamp your opponents control.

Script

[
    new MagicStatic(MagicLayer.ModPT) {
        @Override
        public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
            final int amount = permanent.getOpponent().getNrOfPermanents(MagicSubType.Swamp);
            pt.add(amount,amount);
        }
    }
]
Pushed