Menu

Submission for Goblin Rock Sled

217

Config

name=Goblin Rock Sled
image=http://mtgimage.com/card/goblin%20rock%20sled.jpg
value=2.500
rarity=C
type=Creature
subtype=Goblin
cost={1}{R}
pt=3/1
ability=Trample;\
        SN can't attack unless defending player controls a Mountain.
timing=main
requires_groovy_code
oracle=Trample. Goblin Rock Sled doesn't untap during your untap step if it attacked during your last turn. Goblin Rock Sled can't attack unless defending player controls a Mountain.

Script

[
    new MagicWhenSelfAttacksTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPermanent creature) {
            return new MagicEvent(
                permanent,
                this,
                "SN doesn't untap during your next untap step."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(MagicChangeStateAction.Set(
                event.getPermanent(),
                MagicPermanentState.DoesNotUntapDuringNext
                ));
        }
    }
]
Pushed