Quantcast
WoWInterface - View Single Post - Local colors from 'RAID_CLASS_COLORS'
View Single Post
12-19-20, 07:40 AM   #1
Morale
A Defias Bandit
Join Date: Nov 2020
Posts: 3
Local colors from 'RAID_CLASS_COLORS'

Trying to update a weakaura thats attempting to color the unit frames based off of this

function()
local colors = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
return colors.r, colors.g, colors.b, 1
end
not sure what is out of date here.. the function is coloring the frames fine most of the time.. but some times im getting a ton of lua errors from it. unsure why.
  Reply With Quote