393
edits
(wsg) |
(on my evil arc) |
||
Line 84: | Line 84: | ||
-- Calculate levels for each node | -- Calculate levels for each node | ||
local nodeLevels = calculateNodeLevels(skillNodes) | local nodeLevels = calculateNodeLevels(skillNodes) | ||
-- Calculate maxLevel based on the calculated levels | |||
local maxLevel = 0 | |||
for _, level in pairs(nodeLevels) do | |||
if level > maxLevel then | |||
maxLevel = level | |||
end | |||
end | |||
-- Constants for layout | -- Constants for layout | ||
Line 202: | Line 210: | ||
return tostring(html) | return tostring(html) | ||
end | end | ||
return p | return p |
edits