add Wild Growth (from original base Alpha)

This commit is contained in:
jendave
2011-08-06 09:57:50 +00:00
parent a2e88e0fe3
commit f96825b192
3 changed files with 21 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -4874,6 +4874,7 @@ res/cardsfolder/wild_cantor.txt -text svneol=native#text/plain
res/cardsfolder/wild_colos.txt -text svneol=native#text/plain res/cardsfolder/wild_colos.txt -text svneol=native#text/plain
res/cardsfolder/wild_elephant.txt -text svneol=native#text/plain res/cardsfolder/wild_elephant.txt -text svneol=native#text/plain
res/cardsfolder/wild_griffin.txt -text svneol=native#text/plain res/cardsfolder/wild_griffin.txt -text svneol=native#text/plain
res/cardsfolder/wild_growth.txt -text svneol=native#text/plain
res/cardsfolder/wild_jhovall.txt -text svneol=native#text/plain res/cardsfolder/wild_jhovall.txt -text svneol=native#text/plain
res/cardsfolder/wild_leotau.txt -text svneol=native#text/plain res/cardsfolder/wild_leotau.txt -text svneol=native#text/plain
res/cardsfolder/wild_mongrel.txt -text svneol=native#text/plain res/cardsfolder/wild_mongrel.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Wild Growth
ManaCost:G
Types:Enchantment Aura
Text:Whenever enchanted land is tapped for mana, its controller adds Green to his or her mana pool (in addition to the mana the land produces).
K:Enchant Land
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_growth.jpg
End

View File

@@ -303,6 +303,17 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
sourceCard.addExtrinsicKeyword("An opponent gains control of CARDNAME at the beginning of the next end step."); sourceCard.addExtrinsicKeyword("An opponent gains control of CARDNAME at the beginning of the next end step.");
} }
if(sourceCard.isLand() && sourceCard.isEnchantedBy("Wild Growth")) {
if(sourceCard.getController().equals(AllZone.HumanPlayer)) {
AllZone.ManaPool.addExtrinsicKeyword("ManaPool:G");
}
else {
//only works for human since compy doesn't have the concept of
//a mana pool. Also, that code would currently go in ComputerUtil.payManaCost
//(like the code for Manabarbs)
}
}
if(!runcommands.isEmpty()) for(Command c:runcommands) if(!runcommands.isEmpty()) for(Command c:runcommands)
c.execute(); c.execute();
} }