Fixed overall data only showing Augmented Evokers

This commit is contained in:
Tercio Jose
2023-07-20 15:21:47 -03:00
parent c39deda381
commit 22d8686b03
2 changed files with 42 additions and 20 deletions
+10
View File
@@ -569,12 +569,22 @@ local getSpellListAsHashTableFromSpellBook = function()
spellId = C_SpellBook.GetOverrideSpell(spellId)
local spellName = GetSpellInfo(spellId)
local bIsPassive = IsPassiveSpell(spellId, "player")
if LIB_OPEN_RAID_MULTI_OVERRIDE_SPELLS[spellId] then
for _, overrideSpellId in pairs(LIB_OPEN_RAID_MULTI_OVERRIDE_SPELLS[spellId]) do
completeListOfSpells[overrideSpellId] = true
end
elseif (spellName and not bIsPassive) then
completeListOfSpells[spellId] = true
else
if (not spellName) then
--print("no spellname")
--print(GetSpellInfo(spellId))
elseif (bIsPassive) then
--print("is passive")
--print(GetSpellInfo(spellId))
end
end
end
end