Module:Sandbox/SkillTree: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 40: Line 40:


function p.generateSkillTree(frame)
function p.generateSkillTree(frame)
     local skillName = frame.args.skillName
     local args = frame.args ~= nil and frame.args or frame
     local skillNodes = p.getSkillTreeNodes(skillName)
    local skillName = args.skillName or args[1]
   
     local skillNodes = p.getSkillTree(skillName)


     if not skillNodes then
     if not skillNodes then
393

edits