Menu

Submission for Crop Rotation

98

Comment

tested in magarena 1.43

Config

name=Crop Rotation
url=http://magiccards.info/ul/en/98.html
image=http://magiccards.info/scans/en/ul/98.jpg
value=4.614
rarity=C
type=Instant
cost={G}
timing=removal
requires_groovy_code

Script

[
    new MagicAdditionalCost() {
        @Override
        public MagicEvent getEvent(final MagicSource source) {
            return new MagicSacrificePermanentEvent(source, MagicTargetChoice.SACRIFICE_LAND);
        }
    },
	new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "PN may search his or her library for a land card and put it on the battlefield, then shuffle his or her library."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.addEvent(new MagicSearchOntoBattlefieldEvent(
                event,
                MagicTargetChoice.LAND_CARD_FROM_LIBRARY
            ));
        }
    }
]
Pushed