Thread Tools Display Modes
07-18-11, 04:55 AM   #1
linguini
A Fallenroot Satyr
Join Date: Jun 2010
Posts: 20
SUF target health tag

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!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » SUF target health tag


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off