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:
Vittorio Alfieri
2023-05-24 15:15:52 +02:00
parent 675705a6e5
commit 09f4c408cd
6 changed files with 292 additions and 32 deletions
+6
View File
@@ -1749,6 +1749,12 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
}
}
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