Quantcast
WoWInterface - View Single Post - Local colors from 'RAID_CLASS_COLORS'
View Single Post
12-19-20, 08:40 AM   #2
Tim
A Frostmaul Preserver
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 292
try

Code:
function()
   local CLASS = select(2, UnitClass("player"))
   local colors = CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[CLASS] or RAID_CLASS_COLORS[CLASS]
   return colors.r, colors.g, colors.b
end
__________________
AddOns: Tim @ WoWInterface
Characters: Hunter, Mage, Priest, Monk, DH,
Battle Tag: Tim#11172
Current PC Setup: PCPartPicker List
  Reply With Quote