Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function()
- if UnitExists("focus") then
- local name = GetUnitName("focus")
- local _,class = UnitClass("focus")
- if class then
- local color = RAID_CLASS_COLORS[class].colorStr
- return "|c"..color..name.."|r"
- else
- return name
- end
- else
- return ""
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement