Cataclysm Mage Not Working Correctly
Morituriii opened this issue ยท 3 comments
Describe the bug
When playing with the mage class, either all skills are active when logging in (ignoring current class spec load condition and even if the spell is keybind or not) or everything is greyed out and de-active. This issue does not seem to be present in any other class that I've encountered.
Screenshot 1: Shows how it looks like when logging into the game when having the addon enabled on mage class.
I have tried making a new Mage profile, but the problem persist.
Clicked Version
Clicked 1.14.9
World of Warcraft Flavor
Cataclysm
Tried with only Clicked enabled
- Yes
- No
Lua Errors
No response
Reproduction Steps
1: Create / Select Mage class
2: Login
3: Open up Clicked keybind window
4: Observe.
Last Working Version
Pre Cataclysm.
Screenshots
Debug Output
No response
I logged on my level 80 Mage on Cataclysm who has no talents selected and received this error:
Clicked/Core/BindingProcessor.lua:887: table index is nil
[string "@Clicked/Core/BindingProcessor.lua"]:887: in function `UpdateTalentCacheAndReloadBindings'
[string "@Clicked/Core/BindingProcessor.lua"]:825: in function <Clicked/Core/BindingProcessor.lua:823>
It's this code:
for tab = 1, GetNumTalentTabs() do
for index = 1, GetNumTalents(tab) do
local name, _, _, _, rank = GetTalentInfo(tab, index)
talentCache[name] = rank > 0
end
end
I believe it might be an issue on Blizzards end. GetTalentInfo(1,21) is returning "nil" for its name. GetTalentInfo(1,22) is Improved Arcane Explosion. There are only 21 talents in the Arcane tree.
A temporary fix:
if name then
talentCache[name] = rank > 0
end
Thanks, I've been pretty busy lately so haven't gotten around to this. This should be fixed next release :)