add "recent" & "raidcount"
the recent attribute is to parse new cards entered play, then turns itself to 0 if some stuff happened since it's already in play...
This commit is contained in:
@@ -486,6 +486,17 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
cd->unsecuresetfresh(1);
|
||||
}
|
||||
}
|
||||
else if (attribute.find("recent") != string::npos)
|
||||
{
|
||||
if (minus)
|
||||
{
|
||||
cd->unsecuresetrecent(-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
cd->unsecuresetrecent(1);
|
||||
}
|
||||
}
|
||||
else if (attribute.find("geared") != string::npos)
|
||||
{
|
||||
if (minus)
|
||||
|
||||
Reference in New Issue
Block a user