393
edits
No edit summary |
No edit summary Tag: Manual revert |
||
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 | |||
if | |||
local mods = Modifiers.getMatchingModifiers(node.modifiers, modifierCriteria) | local mods = Modifiers.getMatchingModifiers(node.modifiers, modifierCriteria) | ||
return not Shared.tableIsEmpty(mods.matched) | |||
end | end | ||
return false | return false |
edits