Menu

Submission for Saprazzan Legate

100

Config

name=Saprazzan Legate
image=http://mtgimage.com/card/saprazzan%20legate.jpg
value=2.500
rarity=U
type=Creature
subtype=Merfolk,Soldier
cost={3}{U}
pt=1/3
ability=Flying
timing=main
requires_groovy_code
oracle=Flying. If an opponent controls a Mountain and you control an Island, you may cast Saprazzan Legate without paying its mana cost.

Script

def ISLAND_AND_MOUNTAIN_CONDITION = new MagicCondition() {
    public boolean accept(final MagicSource source) {
        return source.getController().getNrOfPermanents(MagicSubType.Island) >= 1 && 
        source.getController().getOpponent().getNrOfPermanents(MagicSubType.Mountain) >= 1;
    }
};

[
     new MagicCardActivation(
        [ISLAND_AND_MOUNTAIN_CONDITION, MagicCondition.CARD_CONDITION],
        new MagicActivationHints(MagicTiming.Main),
        "NoCost"
    ) {

        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicCard source) {
            return [new MagicPayManaCostEvent(source,"{0}")];
        }
    }
]
Pushed