I figured I would post my Target Frame's Health Listing here:
The following DogTag will display as follows:
Friendly Player or NPC with UNKNOWN Health: "Percent HP" - (example: 77%)
Friendly Player or NPC with KNOWN health: "Current HP - Missing HP" - (example: 9453
-1566)
Enemy Player or NPC with UNKNOWN Health: "Percent HP" - (example: 54%)
Enemy Player o NPC with KNOWN Health: "Short Current HP / Short Max HP (Percent HP)" - (example: 11k/12k (91%))
It will also display the status of each target if they are dead. Also, for a mob's health to be known on an NPC you must have mobhealth.
[(if IsFriend then
(if not HP(known=true) then
PercentHP:Percent
else
(if not Dead then
HP
end)
end)
end)
(if IsFriend then
(if HP(known=true) then
(Status | (-MissingHP):Hide(0):Short:Color("ff7f7f"))
end)
else
(Status | (if not HP(known=true) then
PercentHP:Percent
else
FractionalHP:Short PercentHP:Percent:Paren:Prepend(" ")
end))
end)]