add Seed the Land (from Saviors of Kamigawa)

This commit is contained in:
jendave
2011-08-06 09:12:39 +00:00
parent d37d069767
commit 513aa7f36b
3 changed files with 23 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -3498,6 +3498,7 @@ res/cardsfolder/secluded_steppe.txt -text svneol=native#text/plain
res/cardsfolder/second_thoughts.txt -text svneol=native#text/plain
res/cardsfolder/sedge_troll.txt -text svneol=native#text/plain
res/cardsfolder/sedraxis_specter.txt -text svneol=native#text/plain
res/cardsfolder/seed_the_land.txt -text svneol=native#text/plain
res/cardsfolder/seedcradle_witch.txt -text svneol=native#text/plain
res/cardsfolder/seeker.txt -text svneol=native#text/plain
res/cardsfolder/seeker_of_skybreak.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,7 @@
Name:Seed the Land
ManaCost:2 G G
Types:Enchantment
Text:Whenever a land enters the battlefield, its controller puts a 1/1 green Snake creature token onto the battlefield.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/seed_the_land.jpg
End

View File

@@ -152,6 +152,21 @@ public class PlayerZone_ComesIntoPlay extends DefaultPlayerZone {
ability.setStackDescription(source+" - deals 2 damage to "+ankhLand.getController());
AllZone.Stack.add(ability);
}
CardList seeds = AllZoneUtil.getCardsInPlay("Seed the Land");
final Card seedLand = c;
for(Card seed:seeds) {
final Card source = seed;
SpellAbility ability = new Ability(source, "") {
@Override
public void resolve() {
CardFactoryUtil.makeToken("Snake", "G 1 1 Snake", seedLand.getController(),
"G", new String[] {"Creature", "Snake"}, 1, 1, new String[] {});
}
};
ability.setStackDescription(source+" - "+seedLand.getController()+" puts a 1/1 green Snake token in play");
AllZone.Stack.add(ability);
}
}//isLand()
//hack to make tokens trigger ally effects: