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

@@ -388,7 +388,14 @@ MTGCardInstance * CardDescriptor::match(MTGCardInstance * card)
}
//Counters
if (anyCounter)
if (anyCounter == -1)
{
if (card->counters->mCount)
{
match = NULL;
}
}
else if (anyCounter)
{
if (!(card->counters->mCount))
{