Код:--Target Health Percentage-- hooksecurefunc("TextStatusBar_UpdateTextString", function(textStatusBar) if textStatusBar == TargetFrameHealthBar and not GetCVarBool("statusTextPercentage") and not textStatusBar.showPercentage then local t = TargetFrameTextureFrameHealthBarText:GetText() if t then t = string.match(t, "[^%/%(]+") if t then TargetFrameTextureFrameHealthBarText:SetText(t.."("..tostring(math.ceil((UnitHealth("target") / UnitHealthMax("target")) * 100)).."%)") end end end end)





