I'm considering changing up my UFs again (joy!) and am thinking I want my Target's health to be displayed like this...
If the MaxHP is known (player, pet, boss, ???)
HP | MaxHP
If the MaxHP is unknown (enemy player, ???)
Percent (hide if full)
Is it possible to write a DogTag to show this? It's a bit beyond my realm of knowledge.
Edit: Went to the first page and found this (and here I thought I had read this thread so much it was almost memorized!):
[if IsPlayer then
[HP:color("00ff00") (Status or (-MissingHP):Hide(0)):color("ff0000")]
else
[PercentHP:Percent:color("00ff00") (Status or (-MissingHP):Hide(0)):color("ff0000")]
end]
But what I'm asking for, what differs from the DogTag above, is if it's a boss or something where the HP is known and not held exclusively to a player or pet.