local INQUISITION = GetSpellInfo(84963) |
local SELFLESSHEALER = GetSpellInfo(114250) |
|
-- Look up class colors once, and then cache |
-- Return for anything unknown |
local colors = setmetatable({ |
}, { __index = function(tbl, index) |
local classColor = string.sub(RAID_CLASS_COLORS[index].colorStr, 3, 8) |
tbl[index] = classColor |
return classColor or "ffffff" |
end |
DEATHKNIGHT = "c41e3a", |
DRUID = "ff7c0a", |
HUNTER = "aad372", |
MAGE = "68ccef", |
PALADIN = "f48cba", |
PRIEST = "ffffff", |
ROGUE = "fff468", |
SHAMAN = "0070dd", |
WARLOCK = "9382c9", |
WARRIOR = "c69b6d", |
MONK = "00ff96", |
}, { __index = function() |
return "ffffff" |
end |
}) |
|
-- Empty tables for our frames |