Update on LibOpenRaid

This commit is contained in:
Tercio Jose
2022-02-15 19:51:36 -03:00
parent 1850624374
commit 0d5019fb89
2 changed files with 11 additions and 3 deletions
+3 -3
View File
@@ -1470,7 +1470,7 @@ function openRaidLib.playerInfoManager.GetPlayerFullInfo()
local nodes = tree.nodes
table.sort(nodes, function(t1, t2) return t1.row < t2.row end)
local C_Soulbinds_GetConduitCollectionData = C_Soulbinds.GetConduitCollectionData
for nodeId, nodeInfo in ipairs(nodes) do
--check if the node is a conduit placed by the player
@@ -1487,9 +1487,9 @@ function openRaidLib.playerInfoManager.GetPlayerFullInfo()
if (spellId == 0) then
--is player conduit
spellId = C_Soulbinds.GetConduitSpellID(nodeInfo.conduitID, nodeInfo.conduitRank)
local conduitItemLevel = C_Soulbinds.GetConduitItemLevel(conduitId, conduitRank)
conduits[#conduits+1] = spellId
conduits[#conduits+1] = conduitItemLevel
local collectionData = C_Soulbinds_GetConduitCollectionData(conduitId)
conduits[#conduits+1] = collectionData and collectionData.conduitItemLevel or 0
else
--is default conduit
conduits[#conduits+1] = spellId