Outline() local s = Status(unit) if s then return s end local cur, max = HP(unit), MaxHP(unit) if UnitIsFriend(unit,"player") then local miss = max - cur if miss ~= 0 then return "|cffffacac-%s|r",VeryShort(miss,true) else return '' end else return "%s/%s",VeryShort(cur,true),VeryShort(max,true) end
Edit: joined an AV that was in progress and saw this odd behavior:
As you can see, the health display is behaving properly for players nearby, such as the shaman in the bottom right. The far away ones have a strange bug in that it displays the minus sign twice and reflects a seemingly nonexistent deficit. Not sure how to clean that one up.