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.....
This commit is contained in:
omegablast2002@yahoo.com
2011-07-26 16:56:01 +00:00
parent c1ac119af5
commit 8bb53ff12f

View File

@@ -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)))