- Fix for ExileFromHand bug.

- Adding Elvish Spirit Guide and Simian Spirit Guide
This commit is contained in:
jendave
2011-08-06 15:21:07 +00:00
parent 1a9513d0cb
commit 22839f79bb
4 changed files with 21 additions and 1 deletions

2
.gitattributes vendored
View File

@@ -1564,6 +1564,7 @@ res/cardsfolder/elvish_piper.txt -text svneol=native#text/plain
res/cardsfolder/elvish_ranger.txt -text svneol=native#text/plain res/cardsfolder/elvish_ranger.txt -text svneol=native#text/plain
res/cardsfolder/elvish_scrapper.txt -text svneol=native#text/plain res/cardsfolder/elvish_scrapper.txt -text svneol=native#text/plain
res/cardsfolder/elvish_skysweeper.txt -text svneol=native#text/plain res/cardsfolder/elvish_skysweeper.txt -text svneol=native#text/plain
res/cardsfolder/elvish_spirit_guide.txt -text svneol=native#text/plain
res/cardsfolder/elvish_vanguard.txt -text svneol=native#text/plain res/cardsfolder/elvish_vanguard.txt -text svneol=native#text/plain
res/cardsfolder/elvish_visionary.txt -text svneol=native#text/plain res/cardsfolder/elvish_visionary.txt -text svneol=native#text/plain
res/cardsfolder/elvish_warrior.txt -text svneol=native#text/plain res/cardsfolder/elvish_warrior.txt -text svneol=native#text/plain
@@ -4591,6 +4592,7 @@ res/cardsfolder/silverstorm_samurai.txt -text svneol=native#text/plain
res/cardsfolder/silvos_rogue_elemental.txt -text svneol=native#text/plain res/cardsfolder/silvos_rogue_elemental.txt -text svneol=native#text/plain
res/cardsfolder/sima_yi_wei_field_marshal.txt -text svneol=native#text/plain res/cardsfolder/sima_yi_wei_field_marshal.txt -text svneol=native#text/plain
res/cardsfolder/simian_grunts.txt -text svneol=native#text/plain res/cardsfolder/simian_grunts.txt -text svneol=native#text/plain
res/cardsfolder/simian_spirit_guide.txt -text svneol=native#text/plain
res/cardsfolder/simic_growth_chamber.txt -text svneol=native#text/plain res/cardsfolder/simic_growth_chamber.txt -text svneol=native#text/plain
res/cardsfolder/simic_ragworm.txt -text svneol=native#text/plain res/cardsfolder/simic_ragworm.txt -text svneol=native#text/plain
res/cardsfolder/simic_signet.txt -text svneol=native#text/plain res/cardsfolder/simic_signet.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Elvish Spirit Guide
ManaCost:2 G
Types:Creature Elf Spirit
Text:no text
PT:2/2
A:AB$Mana | Cost$ExileFromHand<1/CARDNAME> | Produced$G | ActivatingZone$Hand | SpellDescription$Add G to your mana pool.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/elvish_spirit_guide.jpg
End

View File

@@ -0,0 +1,9 @@
Name:Simian Spirit Guide
ManaCost:2 R
Types:Creature Ape Spirit
Text:no text
PT:2/2
A:AB$Mana | Cost$ExileFromHand<1/CARDNAME> | Produced$R | ActivatingZone$Hand | SpellDescription$Add R to your mana pool.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/simian_spirit_guide.jpg
End

View File

@@ -916,7 +916,7 @@ public class Cost_Payment {
JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE, JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE,
null, possibleValues, possibleValues[0]); null, possibleValues, possibleValues[0]);
if(choice.equals(0)) { if(choice.equals(0)) {
payment.setPayExile(true); payment.setPayExileFromHand(true);
AllZone.GameAction.exile(card); AllZone.GameAction.exile(card);
stop(); stop();
payment.payCost(); payment.payCost();