- fix bug with Akron Legionnaire (Legends). See test
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-06-02 12:44:31 +00:00
parent e9a95803c7
commit f09e9d6b7c
4 changed files with 24 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ MTGCardInstance * CardDescriptor::match_or(MTGCardInstance * card){
break;
}
}else{
if (!card->hasSubtype(-types[i])){
if (!card->hasSubtype(-types[i]) && (Subtypes::subtypesList->find(card->name) != -types[i])){
found = 1;
break;
}
@@ -65,7 +65,7 @@ MTGCardInstance * CardDescriptor::match_and(MTGCardInstance * card){
match = NULL;
}
}else{
if(card->hasSubtype(-types[i])){
if(card->hasSubtype(-types[i]) || (Subtypes::subtypesList->find(card->name) == -types[i])){
match = NULL;
}
}