Menu

Submission for Goblin Furrier

82

Config

name=Goblin Furrier
image=http://mtgimage.com/card/goblin%20furrier.jpg
value=2.500
rarity=C
type=Creature
subtype=Goblin,Warrior
cost={1}{R}
pt=2/2
timing=main
requires_groovy_code
oracle=Prevent all damage that Goblin Furrier would deal to snow creatures.

Script

[
    new MagicIfDamageWouldBeDealtTrigger(MagicTrigger.PREVENT_DAMAGE) {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
            if (damage.getSource() == permanent &&
                damage.getTarget().hasType(MagicType.Creature) &&
                damage.getTarget().hasType(MagicType.Snow)) {
                // Replacement effect. Generates no event or action.
                damage.prevent();
            }
            return MagicEvent.NONE;
        }
    }
]
Pushed