From 8bb53ff12f9ad8811197854239dcab49e4894b3a Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Tue, 26 Jul 2011 16:56:01 +0000 Subject: [PATCH] added incrementing of "damageCount" the variable that tracks the damage dealt to a player, to "infect" damaging...this is a rules correction, a creature with "infect" still "deals damage"...it just does it differently. this fixes an issue with infect creatures not triggering "bloodthirst" ...all other cases this was working correctly, bloodthirst however checks the damageCount..... --- projects/mtg/src/Damage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/mtg/src/Damage.cpp b/projects/mtg/src/Damage.cpp index da0c58615..0d6f6924b 100644 --- a/projects/mtg/src/Damage.cpp +++ b/projects/mtg/src/Damage.cpp @@ -143,6 +143,7 @@ int Damage::resolve() // Poison on player Player * _target = (Player *) target; _target->poisonCount += damage;//this will be changed to poison counters. + target->damageCount += damage; } else if (target->type_as_damageable == DAMAGEABLE_PLAYER && (source->has(Constants::POISONTOXIC) || source->has(Constants::POISONTWOTOXIC) || source->has(Constants::POISONTHREETOXIC)))