Advertisement
DannyBT

Untitled

Jul 29th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. -- returns class colored string of a raid member
  2. local ColorName = function(unit)
  3. if UnitExists(unit) then
  4. local _, class = UnitClass(unit)
  5. local color = select(4, GetClassColor(class))
  6. return WrapTextInColorCode(unit, color)
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement