View Single Post
08-29-07, 10:12 PM   #458
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Change:

Code:
function PerfectRaid:GetColoredName(unit, idx)
	local class = select(2, UnitClass(unit)) or "WARRIOR"
	local color = RAID_CLASS_COLORS[class]
	local group = ""
	if idx then
		group = string.format("%s-", select(3, GetRaidRosterInfo(idx)))
	end

	return string.format("%s|cFF%02x%02x%02x%s|r", group, color.r*255, color.g*255, color.b*255, UnitName(unit) or "Unknown")
end
to

Code:
function PerfectRaid:GetColoredName(unit, idx)
	return string.format("%s|cFF%02x%02x%02x%s|r", group, 255, 255, 255, UnitName(unit) or "Unknown")
end
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote