393
edits
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 69: | Line 69: | ||
function p.getSkillTreeNodes(checkFunc) | function p.getSkillTreeNodes(checkFunc) | ||
local nodes = {} | local nodes = {} | ||
for | |||
for _, | for _, skillData in pairs(GameData.skillData) do | ||
local skillTrees = skillData.skillTrees | |||
if skillTrees then | |||
for _, skillTree in ipairs(skillTrees) do | |||
for _, node in ipairs(GameData.getEntities(skillTree.nodes, checkFunc)) do | |||
table.insert(nodes, node) | |||
end | |||
end | end | ||
end | end |
edits