Template:Sandbox/Skill Tree: Difference between revisions

From Melvor Idle
(init)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="skill-tree-container">
{{#invoke:Sandbox/SkillTree|generateSkillTree|{{{1|}}}}}
    <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>

Latest revision as of 13:36, 31 August 2024

No skill tree found for: