I hope for your help
Tried to rename addon - Target Health Percentage - on --Player Health Percentage--
hooksecurefunc("TextStatusBar_UpdateTextString", function(textStatusBar)
if textStatusBar == PlayerFrameHealthBar and not GetCVarBool("statusTextPercentage") and not textStatusBar.showPercentage then
local t = PlayerFrameTextureFrameHealthBarText:GetText()
if t then
t = string.match(t, "[^%/%(]+")
if t then
PlayerFrameTextureFrameHealthBarText:SetText(t.."("..tostring(math.ceil((UnitHea lth("Player") / UnitHealthMax("Player")) * 100)).."%)")
end
end
end
But nothing happened
There are people who can help?
I'm sure for you it is a piece of cake