added lifegain and oplifegain variable used the same as lifelost, but stores the value of life gained this turn.

This commit is contained in:
zethfoxster
2016-07-21 21:11:15 -04:00
parent ca395492d5
commit 6aafe9dee0
4 changed files with 16 additions and 1 deletions

View File

@@ -658,6 +658,14 @@ private:
{
intValue = target->controller()->lifeLostThisTurn;
}
else if (s == "oplifegain")
{
intValue = target->controller()->opponent()->lifeGainedThisTurn;
}
else if (s == "lifegain")
{
intValue = target->controller()->lifeGainedThisTurn;
}
else if (s == "pdcount")
{
intValue = target->controller()->damageCount;