hello. i am trying to get SUF's target frame to show the target's health as "123,456,789" instead of "123456789" for absolute current HP.
here is the default tag
Code:
function(unit, unitOwner)
if( UnitIsDead(unit) ) then
return ShadowUF.L["Dead"]
elseif( UnitIsGhost(unit) ) then
return ShadowUF.L["Ghost"]
elseif( not UnitIsConnected(unit) ) then
return ShadowUF.L["Offline"]
end
return UnitHealth(unit)
end
hopefully there is someway to add in commas in those numbers. ty!