diff --git a/.gitattributes b/.gitattributes index 6815c5f799e..7ece6575f99 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/res/cardsfolder/seed_the_land.txt b/res/cardsfolder/seed_the_land.txt new file mode 100644 index 00000000000..94e7d4b2bc5 --- /dev/null +++ b/res/cardsfolder/seed_the_land.txt @@ -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 diff --git a/src/forge/PlayerZone_ComesIntoPlay.java b/src/forge/PlayerZone_ComesIntoPlay.java index 10498d7f9a4..b2a8a1ce3d4 100644 --- a/src/forge/PlayerZone_ComesIntoPlay.java +++ b/src/forge/PlayerZone_ComesIntoPlay.java @@ -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: