393
edits
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
local nodesWithModifier = SkillTree.getSkillTreeNodes( | local nodesWithModifier = SkillTree.getSkillTreeNodes( | ||
function(nodeWithSkill) | function(nodeWithSkill) | ||
local node = nodeWithSkill.nodeData | if nodeWithSkill.nodeData ~= nil then | ||
local node = nodeWithSkill.nodeData | |||
if node.modifiers ~= nil then | |||
local mods = Modifiers.getMatchingModifiers(node.modifiers, modifierCriteria) | |||
return not Shared.tableIsEmpty(mods.matched) | |||
end | |||
return false | |||
end | end | ||
end | end | ||
) | ) |
edits