Details:GetTalents(guid) only returning "player" talents for WotLK Classic
ForestJ316 opened this issue ยท 0 comments
Make sure the bug also happen when Details! is the only addon enabled.
Game and Details! version
Details version W10018
Game version 3.4.0
Describe the bug
-
Steps to Reproduce (what did you do to make the bug happen):
Call the function Details:GetTalents(guid) on units in raid other than yourself. -
Result (what happens when you follow the steps above):
Returns nil, even if there is a cached spec for that player and you can get it with Details:GetSpecByGUID(guid) -
Expected (what you think the expected behavior would be when following the steps):
Would return a table containing the units talents. -
When the bug started (a date, wow path release, details update, etc)?
Looking at gears.lua Details.GetOldSchoolTalentInformation() it seems that for WotLK Classic only the player himself is handled but not NotifyInspect unit. -
Additional information:
I'm guessing that specs are gotten from players casting their respective spells from _detalhes.SpecSpellList list in spells.lua, rather than checking talents for it. So there can be a massive delay for getting a players spec since some guys/classes might not cast those abilities for a while after raid starts.
Lua Error
Screenshots
Combat Log
Other Information