Added new primitives from LTC set, improved "_GOAD_" macro, updated missing card by set list, added new keyword "permanent" to target permanents and nonpermanents, added "flashback" option to "castcard" ability, added new ability "unsacrificable" to forbid a player to sacrifice a card.

This commit is contained in:
Vittorio Alfieri
2023-07-07 18:22:58 +02:00
parent deec348fea
commit b791da0786
13 changed files with 787 additions and 26 deletions

View File

@@ -689,6 +689,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
cd->unsecureSetHasPartner(1);
}
}
//Is a permanent
else if (attribute.find("permanent") != string::npos)
{
if (minus)
{
cd->unsecureSetIsPermanent(-1);
}
else
{
cd->unsecureSetIsPermanent(1);
}
}
//Token
else if (attribute.find("token") != string::npos)
{