hooksecurefunc("TextStatusBar_UpdateTextStringWithValues", function()
PlayerFrameHealthBar.TextString:SetText(AbbreviateLargeNumbers(UnitHealth("player")))
PlayerFrameManaBar.TextString:SetText(AbbreviateLargeNumbers(UnitMana("player")))
end
I want to add this in some way:
If current health > 10 000 then display in k so 10 000 will become 10k
if current health > 800 000 then display in m so 500 000 will become 0.8m
if current health > 800 000 000 then display in b so 500 000 000 will become 0.8b
This should affect player, target, focus, and if possible boss frame(s).












