From 6c616f274185c221f8bb84d21dbad435cbb9d9de Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Sat, 6 Nov 2010 08:07:48 +0000 Subject: [PATCH] added pdcount varible. playerdamagecount for the turn. this is for Simulacrum style cards. Issue: 502 --- projects/mtg/include/AllAbilities.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 1e85fce47..6b0e73d6a 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -66,6 +66,8 @@ public: } }else if (s == "lifetotal"){ intValue = target->controller()->life; + }else if (s == "pdcount"){ + intValue = target->controller()->damageCount; }else if (s == "odcount"){ intValue = target->controller()->opponent()->damageCount; }else if (s == "opponentlifetotal"){