- AI:increased percentage of chance to play an "unknown" Card
- removed delay before displaying big card ingame
- added 2 new AI Decks 
- Fixed a bug with afflict (see tests/afflict.txt)
This commit is contained in:
wagic.the.homebrew
2008-12-01 12:10:55 +00:00
parent 179b7deeb8
commit d66ef78d12
11 changed files with 194 additions and 14 deletions
+2 -2
View File
@@ -234,13 +234,13 @@ int MTGAllCards::readConfLine(std::ifstream &file, int set_id){
if (s[s.size()-1] == '\r') s.erase(s.size()-1); //Handle DOS files
switch(conf_read_mode) {
case 0:
if (s.find("[card]") != string::npos){
if (s[0] == '['){
collection[total_cards] = NEW MTGCard(mCache,set_id);
conf_read_mode = 1;
}
break;
case 1:
if (s.find("[/card]") != string::npos){
if (s[0] == '[' && s[1] == '/'){
conf_read_mode = 0;
total_cards++;
}else{