Originally Posted by ObbleYeah
New issue, using a custom tag but it's not doing what i want it to
Code:
oUF.Tags['[missinghp]'] = function(u) if min~=max then return UnitHealthMax(u) - UnitHealth(u) else return "" end end
oUF.TagEvents["[missinghp]"] = "UNIT_HEALTH UNIT_MAXHEALTH"
I want it to display missing hp and not show at 0, but it's still showing when min=max. Can't work out what i've got wrong here >.<
|
What is min and what is max? its not stated anywhere!