Added MH2 set, improved Android downloader, added/fixed primitives, improved coin flip event trigger, improved discarded attribute, improved castcard keyword (now it's possible to specify the x value in cost), improved add/remove/mod counter trigger, improved the "spent" and "converge" keyword for spell still in the stack.
This commit is contained in:
@@ -1568,6 +1568,18 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
|
||||
cd.hasXCost = 1;
|
||||
}
|
||||
}
|
||||
//has been discarded
|
||||
else if (attribute.find("discarded") != string::npos)
|
||||
{
|
||||
if (minus)
|
||||
{
|
||||
cd.CDdiscarded = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
cd.CDdiscarded = 1;
|
||||
}
|
||||
}
|
||||
//put in its zone this turn
|
||||
else if (attribute.find("fresh") != string::npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user