393
edits
(init) |
mNo edit summary |
||
Line 64: | Line 64: | ||
end | end | ||
function p. | function p.getSkillTreeNodes(checkFunc) | ||
local | local nodes = {} | ||
for _, skill in pairs(SkillData) do | |||
for _, tree in ipairs(skill.skillTrees or {}) do | |||
for | for _, node in ipairs(GameData.getEntities(tree.nodes, checkFunc)) do | ||
table.insert(nodes, node) | |||
end | end | ||
end | end | ||
end | end | ||
return nodes | |||
return | |||
end | end | ||
return p | return p |
edits