Menu

Submission for Saltskitter

14

Config

name=Saltskitter
image=http://mtgimage.com/card/saltskitter.jpg
value=2.500
rarity=C
type=Creature
subtype=Wurm
cost={3}{W}
pt=3/4
timing=main
requires_groovy_code
oracle=Whenever another creature enters the battlefield, exile Saltskitter. Return Saltskitter to the battlefield under its owner's control at the beginning of the next end step.

Script

[
    new MagicWhenOtherComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
		 return (otherPermanent != permanent &&
                    otherPermanent.isCreature()) ?
            new MagicEvent(
                permanent,
                this,
                "Exile SN. Return it to the battlefield under its owner's control at the beginning of the next end step."
            ):
	    MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicExileUntilEndOfTurnAction(event.getPermanent()));
        }
    }
]
Pushed