Added/fixed primitives from NEC set, added new keyword "modified" to target creatures that are enchanted or geared or with counters, updated missing card by set list.

This commit is contained in:
Vittorio Alfieri
2023-06-09 22:45:08 +02:00
parent 2831ac12ae
commit 0f607b2cbe
9 changed files with 131 additions and 111 deletions

View File

@@ -651,6 +651,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
cd->unsecureSetHasBackSide(1);
}
}
//Is modified
else if (attribute.find("modified") != string::npos)
{
if (minus)
{
cd->unsecureSetModified(-1);
}
else
{
cd->unsecureSetModified(1);
}
}
//Has partner
else if (attribute.find("haspartner") != string::npos)
{