added CD geared attribute

This commit is contained in:
Anthony Calosa
2016-08-16 15:42:22 +08:00
parent 525c166f62
commit 763918e129
5 changed files with 34 additions and 5 deletions
+11
View File
@@ -1361,6 +1361,17 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
cd.unsecuresetfresh(1);
}
}
else if (attribute.find("geared") != string::npos)
{
if (minus)
{
cd.CDgeared = -1;
}
else
{
cd.CDgeared = 1;
}
}
//creature is a level up creature
else if (attribute.find("leveler") != string::npos)
{