notany attribute

anytypeofmana makes manacost colorless... wip
This commit is contained in:
Anthony Calosa
2017-01-23 18:32:58 +08:00
parent 7f6e96459c
commit 94aefa6dba
9 changed files with 323 additions and 286 deletions

View File

@@ -746,6 +746,10 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
{
cd->anyCounter = 1;
}
else if (attribute.find("{notany}") != string::npos)
{
cd->anyCounter = -1;
}
else
{
size_t start = attribute.find("{");