Menu

Submission for

Comment

Adapted from Ezuri's Archers.

Config

name=Woolly Spider
image=http://mtgimage.com/card/woolly%20spider.jpg
value=2.500
rarity=C
type=Creature
subtype=Spider
cost={1}{G}{G}
pt=2/3
ability=Reach
timing=main
requires_groovy_code
oracle=Reach. Whenever Woolly Spider blocks a creature with flying, Woolly Spider gets +0/+2 until end of turn.

Script

[
    new MagicWhenBlocksTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocker) {
            final MagicPermanent blocked=permanent.getBlockedCreature();
            return (permanent==blocker &&
                    blocked.isValid() &&
                    blocked.hasAbility(MagicAbility.Flying)) ?
                new MagicEvent(
                    permanent,
                    this,
                    "SN gets +0/+2 until end of turn."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),0,2));
        }
    }
]
Pushed