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

View File

@@ -444,6 +444,17 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
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)
{