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:
@@ -615,6 +615,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
cd->unsecureSetHasKickerCost(1);
|
||||
}
|
||||
}
|
||||
//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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user