Menu

Submission for Opt

65

Config

name=Opt
url=http://magiccards.info/in/en/64.html
image=http://mtgimage.com/card/opt.jpg
value=3.024
rarity=C
type=Instant
cost={U}
timing=draw
requires_groovy_code

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "Look at the top card of your library. You may put that card on the bottom of your library." +
                "Draw a card."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.addEvent(new MagicScryEvent(event));
            game.doAction(new MagicDrawAction(event.getPlayer()));
        }
    }
]
Pushed