Menu

Submission for

Config

name=Explosive Vegetation
image=http://mtgimage.com/card/explosive%20vegetation.jpg
value=3.804
rarity=U
type=Sorcery
cost={3}{G}
timing=main
requires_groovy_code
oracle=Search your library for up to two basic land cards and put them onto the battlefield tapped. Then shuffle your library.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "PN searches his or her library for up to two basic land cards and put them onto the battlefield tapped. Then shuffle PN's library."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.addEvent(new MagicSearchOntoBattlefieldEvent(
                event,
                MagicTargetChoice.BASIC_LAND_CARD_FROM_LIBRARY,
                MagicPlayMod.TAPPED
            ));
            game.addEvent(new MagicSearchOntoBattlefieldEvent(
                event,
                MagicTargetChoice.BASIC_LAND_CARD_FROM_LIBRARY,
                MagicPlayMod.TAPPED
            ));
        }
    }
]
Pushed