Menu

Submission for Survivor of the Unseen

48

Config

name=Survivor of the Unseen
image=http://mtgimage.com/card/survivor%20of%20the%20unseen.jpg
value=2.500
rarity=C
type=Creature
subtype=Human,Wizard
cost={2}{U}
pt=2/1
ability=Cumulative upkeep {2}
timing=main
requires_groovy_code
oracle=Cumulative upkeep {2}. {T}: Draw two cards, then put a card from your hand on top of your library.

Script

[
    new MagicPermanentActivation(
        new MagicActivationHints(MagicTiming.Pump),
        "Draw"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
            return [new MagicTapEvent(source)];
        }

        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                this,
                "PN draws two cards, then puts a card from his hand on top of his library."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicDrawAction(event.getPlayer(),2));
	    game.addEvent(new MagicReturnCardEvent(event.getSource(), event.getPlayer()));
        }
    }
]
Pushed