comparison Export.lua @ 193:cb7eb9b9cc24 v94

Tweak to soulbind exporting.
author yellowfive
date Wed, 11 Nov 2020 23:58:22 -0800
parents 4aeedce4c995
children 23b740b4c93a
comparison
equal deleted inserted replaced
192:cb5342add834 193:cb7eb9b9cc24
297 297
298 if covenantData and covenantData.soulbindIDs then 298 if covenantData and covenantData.soulbindIDs then
299 for i, soulbindId in ipairs(covenantData.soulbindIDs) do 299 for i, soulbindId in ipairs(covenantData.soulbindIDs) do
300 local soulbindData = soulbindId and C_Soulbinds.GetSoulbindData(soulbindId) 300 local soulbindData = soulbindId and C_Soulbinds.GetSoulbindData(soulbindId)
301 local nodes = {} 301 local nodes = {}
302 local unlockedTier = 0 302 local unlockedTier = -1
303 303
304 if soulbindData and soulbindData.tree and soulbindData.tree.nodes then 304 if soulbindData and soulbindData.tree and soulbindData.tree.nodes then
305 for i, node in ipairs(soulbindData.tree.nodes) do 305 for i, node in ipairs(soulbindData.tree.nodes) do
306 if node.state == 3 then 306 if node.state == 3 then
307 nodes[node.row] = { soulbindId, node.row, node.column, node.conduitID, node.conduitRank } 307 nodes[node.row] = { soulbindId, node.row, node.column, node.conduitID, node.conduitRank }