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:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user