Aptechka

Aptechka

182k Downloads

[Classic] Shaman color

lorem-ipsum-dolor-sit opened this issue ยท 3 comments

commented

Aptechka/Aptechka.lua

Lines 302 to 310 in 6485eb6

if AptechkaDB.forceShamanColor and not CUSTOM_CLASS_COLORS then
customColors = {
SHAMAN = {
b=0.86666476726532,
g=0.4392147064209,
r=0,
}
}
end

you can set the shaman color globally, so all addons profit and the UI is not inconsistent

RAID_CLASS_COLORS['SHAMAN']["r"] = 0.25
RAID_CLASS_COLORS['SHAMAN']["g"] = 0.32
RAID_CLASS_COLORS['SHAMAN']["b"] = 0.96
RAID_CLASS_COLORS['SHAMAN']["colorStr"] = "ff4254f5"
commented

It'll cause taint most likely

commented

No, i don't want my addon causing taint ( https://wow.gamepedia.com/Secure_Execution_and_Tainting )
And even if it was safe to write to RAID_CLASS_COLORS, it's still not the place of unitframe addon to make these global changes. I did what i can to safely make it blue because i hate the pink too. The rest is either the responsiblity of chat addon etc authors, or the users who can install https://www.wowinterface.com/downloads/info25310-ShamanFix.html and then their taint is not my problem
The established safe way of changing class colors is supporting this addon, which i do https://www.wowinterface.com/downloads/info12513-ClassColors.html

commented

In other words, you don't want a consistent user experience?
Example PlayerFrames, Chat, Details are still pink but your frame is blue :D

After using the strings for weeks as a weak aura and it doesn't break any other addons.