Menu

Submission for Tainted Wood

312

Config

name=Tainted Wood
image=http://mtgimage.com/card/tainted%20wood.jpg
value=2.500
rarity=U
type=Land
mana=b3g3
ability={T}: Add {1} to your mana pool.
timing=land
requires_groovy_code
oracle={T}: Add {1} to your mana pool. {T}: Add {B} or {G} to your mana pool. Activate this ability only if you control a Swamp.

Script

[
    new MagicStatic(MagicLayer.Ability) {
        @Override
        public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
            permanent.addAbility(new MagicTapManaActivation(MagicManaType.getList("{B}")));
            permanent.addAbility(new MagicTapManaActivation(MagicManaType.getList("{G}")));
        }
        @Override
        public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return MagicCondition.SWAMP_CONDITION.accept(source);
        }
    }
]
Pushed