function onStatsChange(cid, attacker, type, combat, value)
local pid = getCreaturePosition(cid)
local procent = 20
if(exhaustion.get(cid, 9797) ~= false and isInArray({STATSCHANGE_HEALTHLOSS, STATSCHANGE_MANALOSS}, type) and combat == COMBAT_FIREDAMAGE) then
valuehit = math.ceil(((0.01 * procent) - 1) * value)
doCreatureAddHealth(cid, valuehit)
doSendAnimatedText(pid, "" .. valuehit .. "", 80)
return false
end
return true
end