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:
Anthony Calosa
2016-08-25 02:45:51 +08:00
parent 6c836e0fde
commit 9bcc54c56c
10 changed files with 47 additions and 0 deletions
+11
View File
@@ -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)