Fixed some primitives, added new primitives from MAT set, improved filter for multicolored cards, added new keywords for handling multicolored cards.
This commit is contained in:
@@ -917,6 +917,12 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
}
|
||||
|
||||
}
|
||||
else if (attribute.find("numofcols") != string::npos)
|
||||
{
|
||||
//Number of color restrictions
|
||||
cd->numofColors = comparisonCriterion;
|
||||
cd->numofColorsComparisonMode = comparisonMode;
|
||||
}
|
||||
else if (attribute.find("power") != string::npos)
|
||||
{
|
||||
//Power restrictions
|
||||
|
||||
Reference in New Issue
Block a user