Template:Sandbox/Skill Tree: Difference between revisions

From Melvor Idle
(init)
 
(Replaced content with "{{#invoke:Sandbox/SkillTree|getSkillTree|skillName={{{skillName}}}}}")
Tag: Replaced
Line 1: Line 1:
<div class="skill-tree-container">
{{#invoke:Sandbox/SkillTree|getSkillTree|skillName={{{skillName}}}}}
    <h3>{{{skillName}}}</h3>
    <div class="skill-tree-nodes">
        {{#invoke:Sandbox/SkillTree|getSkillTree|skillName={{{skillName}}}}}
        <ul>
            {{#for node in nodes}}
            <li class="skill-tree-node">
                <div class="skill-node-content">
                    <div class="skill-node-header">
                        <span class="skill-node-name">{{node.name}}</span>
                        <span class="skill-node-cost">Points: {{node.costs.points}}</span>
                    </div>
                    <div class="skill-node-modifiers">
                        {{#for modifier, data in pairs(node.modifiers)}}
                        <span>{{modifier}}: Skill: {{data.skillID}}, Value: {{data.value}}</span><br/>
                        {{/for}}
                    </div>
                </div>
            </li>
            {{/for}}
        </ul>
    </div>
</div>

Revision as of 13:22, 31 August 2024

Script error: The function "getSkillTree" does not exist.