- Fixed Count$Valid to be compatible with stSetPT.

- Converted Drift of the Dead to stSetPT.
- Added Krovikan Mist and Nameless One.
This commit is contained in:
jendave
2011-08-06 13:10:37 +00:00
parent bd8b37661a
commit d5e9068032
5 changed files with 26 additions and 4 deletions

2
.gitattributes vendored
View File

@@ -2652,6 +2652,7 @@ res/cardsfolder/krosan_restorer.txt -text svneol=native#text/plain
res/cardsfolder/krosan_war_chief.txt -text svneol=native#text/plain
res/cardsfolder/krovikan_elementalist.txt -text svneol=native#text/plain
res/cardsfolder/krovikan_horror.txt -text svneol=native#text/plain
res/cardsfolder/krovikan_mist.txt -text svneol=native#text/plain
res/cardsfolder/krovikan_rot.txt -text svneol=native#text/plain
res/cardsfolder/krovikan_scoundrel.txt -text svneol=native#text/plain
res/cardsfolder/kuldotha_forgemaster.txt -text svneol=native#text/plain
@@ -3178,6 +3179,7 @@ res/cardsfolder/mythic_proportions.txt -text svneol=native#text/plain
res/cardsfolder/nacatl_outlander.txt -text svneol=native#text/plain
res/cardsfolder/nacatl_savage.txt -text svneol=native#text/plain
res/cardsfolder/nameless_inversion.txt -text svneol=native#text/plain
res/cardsfolder/nameless_one.txt -text svneol=native#text/plain
res/cardsfolder/nameless_race.txt -text svneol=native#text/plain
res/cardsfolder/nantuko_blightcutter.txt -text svneol=native#text/plain
res/cardsfolder/nantuko_calmer.txt -text svneol=native#text/plain

View File

@@ -2,10 +2,9 @@ Name:Drift of the Dead
ManaCost:3 B
Types:Creature Wall
Text:no text
PT:0/0
PT:*/*
K:Defender
K:stPumpSelf:Creature:X/X:Creature+Self:Drift of the Dead's power and toughness are each equal to the number of snow lands you control.
SVar:X:Count$Valid Land.Snow+YouCtrl
K:stSetPT:Count$Valid Land.Snow+YouCtrl:Count$Valid Land.Snow+YouCtrl:Drift of the Dead's power and toughness are each equal to the number of snow lands you control.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/drift_of_the_dead.jpg
SetInfo:ICE|Uncommon|http://magiccards.info/scans/en/ia/11.jpg

View File

@@ -0,0 +1,10 @@
Name:Krovikan Mist
ManaCost:1 U
Types:Creature Illusion
Text:no text
PT:*/*
K:Flying
K:stSetPT:Count$Valid Illusion:Count$Valid Illusion:Krovikan Mist's power and toughness are each equal to the number of Illusions on the battlefield.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/krovikan_mist.jpg
End

View File

@@ -0,0 +1,10 @@
Name:Nameless One
ManaCost:3 U
Types:Creature Wizard Avatar
Text:no text
PT:*/*
K:stSetPT:Count$Valid Illusion:Count$Valid Illusion:Nameless One's power and toughness are each equal to the number of Wizards on the battlefield.
K:Morph:2 U
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/nameless_one.jpg
End

View File

@@ -3545,7 +3545,8 @@ public class CardFactoryUtil {
// count valid cards on the battlefield
if(l[0].contains("Valid")) {
final String restrictions = l[0].replace("Valid ", "");
String restrictions = l[0].replace("Valid ", "");
restrictions = restrictions.replace("Count$", "");
final String rest[] = restrictions.split(",");
CardList cardsonbattlefield = new CardList();
cardsonbattlefield.addAll(myField.getCards());