Menu

Submission for Gravecrawler

64

Config

name=Gravecrawler
image=http://magiccards.info/scans/en/dka/64.jpg
value=2.500
rarity=R
type=Creature
subtype=Zombie
cost={B}
pt=2/1
ability=SN can't block.
timing=main
requires_groovy_code
oracle=Gravecrawler can't block.\nYou may cast Gravecrawler from your graveyard as long as you control a Zombie.

Script

def ZOMBIE_CONDITION = new MagicCondition() {
    public boolean accept(final MagicSource source) {
        return source.getController().controlsPermanent(MagicSubType.Zombie);
    }
};

[
    new MagicGraveyardCastActivation(
        [MagicCondition.CARD_CONDITION, ZOMBIE_CONDITION],
        new MagicActivationHints(MagicTiming.Main),
        "Cast"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicCard source) {
            return [
                new MagicPayManaCostEvent(source, "{B}")
            ];
        }
    }
]
Pushed