Add script for Lay of the Land

master
ember hauler 2013-10-15 08:58:30 +00:00
parent 43fdf7fa05
commit d6148da0a1
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,19 @@
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN searches his or her library for a basic land card, reveal it, put it into his or her hand, and shuffle his or her library."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.addEvent(new MagicSearchIntoHandEvent(
event,
MagicTargetChoice.BASIC_LAND_CARD_FROM_LIBRARY
));
}
}
]

View File

@ -0,0 +1,9 @@
name=Lay of the Land
url=http://magiccards.info/m14/en/183.html
image=http://magiccards.info/scans/en/m14/183.jpg
value=2.125
rarity=C
type=Sorcery
cost={G}
timing=main
requires_groovy_code