Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(unit)
- local _, class = UnitClass(unit)
- local color = RAID_CLASS_COLORS[class]
- local r,g,b = color.r, color.g, color.b
- return format('|cff%02x%02x%02x%d|r',r*255, g*255, b*255, UnitHealth(unit))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement