- Added Nature's Lore.

This commit is contained in:
jendave
2011-08-06 05:06:06 +00:00
parent 14bb680fd5
commit dd36ec697e
4 changed files with 34 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
natures_lore.jpg http://www.wizards.com/global/images/magic/general/natures_lore.jpg
monk_idealist.jpg http://www.wizards.com/global/images/magic/general/monk_idealist.jpg
hermit_druid.jpg http://www.wizards.com/global/images/magic/general/hermit_druid.jpg
squirrel_mob.jpg http://www.wizards.com/global/images/magic/general/squirrel_mob.jpg

View File

@@ -1,3 +1,8 @@
Nature's Lore
1 G
Sorcery
no text
Monk Idealist
2 W
Creature Human Monk Cleric

View File

@@ -863,6 +863,7 @@ Nantuko Disciple
Nantuko Husk
Natural Spring
Naturalize
Nature's Lore
Naya Hushblade
Necrogen Spellbomb
Needlepeak Spider

View File

@@ -20556,6 +20556,33 @@ public class CardFactory implements NewConstants {
} //*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Nature's Lore")) {
SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = -6598323179507468746L;
@Override
public void resolve() {
AllZone.GameAction.searchLibraryLand("Forest", card.getController(),
Constant.Zone.Play, false);
}
public boolean canPlayAI()
{
PlayerZone library = AllZone.getZone(Constant.Zone.Library, Constant.Player.Computer);
CardList list = new CardList(library.getCards());
list = list.getType("Forest");
return list.size() > 0;
}
};//SpellAbility
card.clearSpellAbility();
String desc = "Search your library for a Forest card and put that card onto the battlefield. Then shuffle your library.";
spell.setStackDescription(desc);
spell.setDescription(desc);
card.addSpellAbility(spell);
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Natural Selection")) {