Menu

Submission for Abzan Kin-Guard

120

Config

name=Abzan Kin-Guard
image=http://mtgimage.com/card/abzan%20kin-guard.jpg
value=2.500
rarity=U
type=Creature
subtype=Human,Warrior
cost={3}{G}
pt=3/3
timing=main
requires_groovy_code
oracle=Abzan Kin-Guard has lifelink as long as you control a white or black permanent.

Script

[
    new MagicStatic(MagicLayer.Ability) {
        @Override
        public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
            permanent.addAbility(MagicAbility.Lifelink, flags);
        }
        @Override
        public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return source.getController().controlsPermanent(MagicColor.White) ||
            source.getController().controlsPermanent(MagicColor.Black);
        }
    }
]
Pushed