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