mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
add Seed the Land (from Saviors of Kamigawa)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
7
res/cardsfolder/seed_the_land.txt
Normal file
7
res/cardsfolder/seed_the_land.txt
Normal 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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user