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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user