diff --git a/!Compatibility/api/wowAPI.lua b/!Compatibility/api/wowAPI.lua index d628f3a..aa984ac 100644 --- a/!Compatibility/api/wowAPI.lua +++ b/!Compatibility/api/wowAPI.lua @@ -53,6 +53,18 @@ CLASS_ICON_TCOORDS = { ["PALADIN"] = {0, 0.25, 0.5, 0.75} } +RAID_CLASS_COLORS = { + ["HUNTER"] = { r = 0.67, g = 0.83, b = 0.45, colorStr = "ffabd473" }, + ["WARLOCK"] = { r = 0.53, g = 0.53, b = 0.93, colorStr = "ff8788ee" }, + ["PRIEST"] = { r = 1.0, g = 1.0, b = 1.0, colorStr = "ffffffff" }, + ["PALADIN"] = { r = 0.96, g = 0.55, b = 0.73, colorStr = "fff58cba" }, + ["MAGE"] = { r = 0.25, g = 0.78, b = 0.92, colorStr = "ff3fc7eb" }, + ["ROGUE"] = { r = 1.0, g = 0.96, b = 0.41, colorStr = "fffff569" }, + ["DRUID"] = { r = 1.0, g = 0.49, b = 0.04, colorStr = "ffff7d0a" }, + ["SHAMAN"] = { r = 0.0, g = 0.44, b = 0.87, colorStr = "ff0070de" }, + ["WARRIOR"] = { r = 0.78, g = 0.61, b = 0.43, colorStr = "ffc79c6e" }, +} + QuestDifficultyColors = { ["impossible"] = {r = 1.00, g = 0.10, b = 0.10}, ["verydifficult"] = {r = 1.00, g = 0.50, b = 0.25}, diff --git a/ElvUI/Core/core.lua b/ElvUI/Core/core.lua index ff7bf59..cd068c3 100644 --- a/ElvUI/Core/core.lua +++ b/ElvUI/Core/core.lua @@ -23,6 +23,7 @@ local SendAddonMessage = SendAddonMessage local CUSTOM_CLASS_COLORS = CUSTOM_CLASS_COLORS local ERR_NOT_IN_COMBAT = ERR_NOT_IN_COMBAT local MAX_TALENT_TABS = MAX_TALENT_TABS +local RAID_CLASS_COLORS = RAID_CLASS_COLORS _, E.myclass = UnitClass("player") -- Constants _, E.myrace = UnitRace("player") @@ -132,18 +133,6 @@ E.DEFAULT_FILTER = { ["RaidDebuffs"] = "Whitelist", } -RAID_CLASS_COLORS = { - ["HUNTER"] = { r = 0.67, g = 0.83, b = 0.45, colorStr = "ffabd473" }, - ["WARLOCK"] = { r = 0.53, g = 0.53, b = 0.93, colorStr = "ff8788ee" }, - ["PRIEST"] = { r = 1.0, g = 1.0, b = 1.0, colorStr = "ffffffff" }, - ["PALADIN"] = { r = 0.96, g = 0.55, b = 0.73, colorStr = "fff58cba" }, - ["MAGE"] = { r = 0.25, g = 0.78, b = 0.92, colorStr = "ff3fc7eb" }, - ["ROGUE"] = { r = 1.0, g = 0.96, b = 0.41, colorStr = "fffff569" }, - ["DRUID"] = { r = 1.0, g = 0.49, b = 0.04, colorStr = "ffff7d0a" }, - ["SHAMAN"] = { r = 0.0, g = 0.44, b = 0.87, colorStr = "ff0070de" }, - ["WARRIOR"] = { r = 0.78, g = 0.61, b = 0.43, colorStr = "ffc79c6e" }, -}; - E.noop = function() end local colorizedName