Menu

Submission for Frantic Search

70

Config

name=Frantic Search
image=http://magiccards.info/scans/en/vma/70.jpg
value=2.500
rarity=C
type=Instant
cost={2}{U}
timing=draw
requires_groovy_code
oracle=Draw two cards, then discard two cards. Untap up to three lands.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "Draw two cards, then discard two cards. Untap up to three lands."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicDrawAction(event.getPlayer(),2));
            game.addEvent(new MagicDiscardEvent(event.getSource(), event.getPlayer(), 2));
            game.addEvent(new MagicRepeatedPermanentsEvent(
                event.getSource(),
                MagicTargetChoice.TARGET_LAND,
                3,
                MagicChainEventFactory.Untap
            ));
        }
    }
]
Pushed