View Single Post
11-20-10, 04:25 PM   #5
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
What Torhal says, Class Colors is the probably the best way to go if you want to avoid taint and still be able to change class colors.

For example like this
Code:
local _, class = UnitClass('player')
local color = CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[class] or RAID_CLASS_COLORS[class]			
whatever:SetColor(color.r, color.g, color.b)

This will also use RAID_CLASS_COLORS, if CUSTOM_CLASS_COLORS through Class Colors are unavailable.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

  Reply With Quote