add nonCombatDamage count

This commit is contained in:
Anthony Calosa
2016-08-04 09:56:53 +08:00
parent 8ba97b8a74
commit 1ab88940f9
6 changed files with 19 additions and 1 deletions

View File

@@ -690,6 +690,14 @@ private:
{
intValue = target->controller()->opponent()->damageCount;
}
else if (s == "pdnoncount")
{
intValue = target->controller()->nonCombatDamage;
}
else if (s == "odnoncount")
{
intValue = target->controller()->opponent()->nonCombatDamage;
}
else if (s == "playerpoisoncount")
{
intValue = target->controller()->poisonCount;

View File

@@ -24,6 +24,7 @@ public:
int handsize;
int poisonCount;
int damageCount;
int nonCombatDamage;
int preventable;
int thatmuch;
int lifeLostThisTurn;