393
edits
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
function p.getSkillTreeNodesWithModifier(modifierCriteria) | function p.getSkillTreeNodesWithModifier(modifierCriteria) | ||
local nodesWithModifier = SkillTree.getSkillTreeNodes( | local nodesWithModifier = SkillTree.getSkillTreeNodes( | ||
function(node) | function(node, skillName) | ||
if node.modifiers ~= nil then | if node.modifiers ~= nil then | ||
local mods = Modifiers.getMatchingModifiers(node.modifiers, modifierCriteria) | local mods = Modifiers.getMatchingModifiers(node.modifiers, modifierCriteria) |
edits