Menu

Submission for Nimbus Maze

178

Config

name=Nimbus Maze
image=http://mtgimage.com/card/nimbus%20maze.jpg
value=2.500
rarity=R
type=Land
ability={T}: Add {1} to your mana pool.
timing=land
requires_groovy_code
oracle={T}: Add {1} to your mana pool. {T}: Add {W} to your mana pool. Activate this ability only if you control an Island. {T}: Add {U} to your mana pool. Activate this ability only if you control a Plains.

Script

def AB1 = new MagicTapManaActivation(MagicManaType.getList("{W}"));

def AB2 = new MagicTapManaActivation(MagicManaType.getList("{U}"));

[
    new MagicStatic(MagicLayer.Ability) {
        @Override
        public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
            permanent.addAbility(AB1);
        }
        @Override
        public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return MagicCondition.ISLAND_CONDITION.accept(source);
        }
    },
new MagicStatic(MagicLayer.Ability) {
        @Override
        public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
            permanent.addAbility(AB2);
        }
        @Override
        public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return MagicCondition.PLAINS_CONDITION.accept(source);
        }
    }
]
Pushed