- bug fixes (civic wayfinder, fault line)
- target's quad is displayed for generictargetabilities
- added menutext for powertoughnessmodifier
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-26 03:15:52 +00:00
parent ee61d7ad6b
commit bf8d4fd827
9 changed files with 105 additions and 20 deletions
+2 -1
View File
@@ -102,6 +102,7 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
unsigned int found2 = attributes.find(";");
string attribute;
if (found2 != string::npos){
cd->mode = CD_OR;
attribute = attributes.substr(0,found2);
attributes = attributes.substr(found2+1);
}else{
@@ -179,7 +180,7 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
}
}
}
if (nbminuses == 0) cd->mode = CD_OR;
if (nbminuses) cd->mode = CD_AND;
typeName = typeName.substr(0,found);
}
//X targets allowed ?