added drawCounter. Returns the number of cards drawn this turn (excludes pre-game draw).
pdrewcount - player draw count odrewcount - opponent draw count
This commit is contained in:
@@ -374,6 +374,14 @@ private:
|
||||
{
|
||||
intValue = target->controller()->opponent()->life;
|
||||
}
|
||||
else if (s == "pdrewcount")
|
||||
{
|
||||
intValue = target->controller()->drawCounter;
|
||||
}
|
||||
else if (s == "odrewcount")
|
||||
{
|
||||
intValue = target->controller()->opponent()->drawCounter;
|
||||
}
|
||||
else if (s == "p" || s == "power")
|
||||
{
|
||||
intValue = target->getPower();
|
||||
|
||||
Reference in New Issue
Block a user