Added some new primitives from MOM set, fixed some primitives, added new keyword "hasconvoke" to target spells which have convoke cost.

This commit is contained in:
Vittorio Alfieri
2023-05-19 20:43:26 +02:00
parent 3bd3933c66
commit 0e0b3a78fe
7 changed files with 450 additions and 4 deletions
+13 -1
View File
@@ -1520,7 +1520,19 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
cd.unsecureSetHasKickerCost(1);
}
}
//Has kicker cost
//Has convoke cost
else if (attribute.find("hasconvoke") != string::npos)
{
if (minus)
{
cd.unsecureSetHasConvokeCost(-1);
}
else
{
cd.unsecureSetHasConvokeCost(1);
}
}
//Has flashback cost
else if (attribute.find("hasflashback") != string::npos)
{
if (minus)