Originally Posted by Gogusrl
worked like this :
Code:
function PerfectRaid:GetColoredName(unit, idx)
local group = ""
return string.format("%s|cFF%02x%02x%02x%s|r", group, 255, 255, 255, UnitName(unit) or "Unknown")
end
thanks, i now have the perfect raid / party frames
edit : and they look like this : http://paradoxguild.net/gogu/gogusrl-ui.jpg
thanks again for the quick replies and the great addon.
|
Can i ask you what lines you modified to display the min/max health on the bars please ?
Also, how did you manage to show the bars using some kind of gradient, instead of solid colors ?
Thank you.
Edit:
It appears i could use the same coding as for the "deficit" calculation, but using the health/max health variables.
So far i managed to display the health/max health, but not like you did.
i cannot figure out how to string the values (8000 ==> 8k for instance), a little help would be appreciated.
Thanks.