@@ -218,7 +218,7 @@ for i,class in ipairs(data.classes) do
218218
219219 table.insert (tree .classes , classData )
220220
221- -- Load background-[class] dinamically
221+ -- Load background-[class] dynamically
222222 table.insert (fileAssets , " background-" .. string.lower (class .name ) .. " .json" )
223223 :: classcontinue ::
224224end
249249print (" Building nodes" )
250250local attributesNodesId = {26297 , 14927 , 57022 }
251251local ascendancyGroups = {}
252- local classessNodeIds = {}
252+ local classesNodeIds = {}
253253
254254for id , node in pairs (data .nodes ) do
255255 if node .id == nil then
@@ -321,7 +321,7 @@ for id, node in pairs(data.nodes) do
321321 if node .flavourText and # node .flavourText > 0 then
322322 nodeData .flavourText = table.concat (node .flavourText , ' \\ n' )
323323 end
324- -- buidl node stats
324+ -- build node stats
325325 if node .stats and # node .stats > 0 then
326326 nodeData .stats = {}
327327 for _ , stat in ipairs (node .stats ) do
@@ -359,7 +359,7 @@ for id, node in pairs(data.nodes) do
359359 for _ , classStartIndex in ipairs (node .classStartIndex ) do
360360 local className = data .classes [classStartIndex + 1 ].name
361361 table.insert (nodeData .classesStart , className )
362- table.insert (classessNodeIds , nodeId )
362+ table.insert (classesNodeIds , nodeId )
363363 end
364364 end
365365
@@ -420,7 +420,7 @@ for id, node in pairs(data.nodes) do
420420 :: nextNode ::
421421end
422422
423- -- Build isSwitchavle / overridePairs
423+ -- Build isSwitchable / overridePairs
424424for _ , classData in ipairs (data .classes ) do
425425 if classData .overridePairs then
426426 for nodeId , replaceNodeId in pairs (classData .overridePairs ) do
477477local widthTree , heightTree = tree .max_x - tree .min_x , tree .max_y - tree .min_y
478478local radiusTree = (math.max (widthTree , heightTree ) + 700 ) / 2
479479local arcAngle = { [0 ] = 0 , [1 ] = 0 , [2 ] = 12 , [3 ] = 24 , [4 ] = 36 , [5 ] = 48 , [6 ] = 60 , [7 ] = 72 , [8 ] = 84 , [9 ] = 96 }
480- for i , classId in ipairs (classessNodeIds ) do
480+ for i , classId in ipairs (classesNodeIds ) do
481481 local nodeStart = tree .nodes [classId ]
482482 local group = tree .groups [nodeStart .group ]
483483 local angleToCenter = math.atan2 (group .y , group .x )
@@ -510,20 +510,20 @@ for i, classId in ipairs(classessNodeIds) do
510510 local info = ascendancyGroups [ascendancy .id ]
511511 if info == nil then
512512 printf (" Ascendancy group " .. ascendancy .id .. " not found" )
513- goto continuepositioning
513+ goto continuePositioning
514514 end
515515 local ascendancyNode = tree .nodes [info .startId ]
516516 if ascendancyNode == nil then
517517 printf (" Ascendancy node " .. ascendancy .id .. " not found" )
518- goto continuepositioning
518+ goto continuePositioning
519519 end
520520
521521 ascendancy .background .x = cX
522522 ascendancy .background .y = cY
523523
524524 local groupAscendancy = tree .groups [ascendancyNode .group ]
525525
526- local innerRadious = dat (" ascendancy" ):GetRow (" Id" , ascendancy .internalId ).distanceTree
526+ local innerRadius = dat (" ascendancy" ):GetRow (" Id" , ascendancy .internalId ).distanceTree
527527
528528 local newInnerX = cX + math.cos (angleToCenter ) * innerRadious
529529 local newInnerY = cY + math.sin (angleToCenter ) * innerRadious
@@ -552,7 +552,7 @@ for i, classId in ipairs(classessNodeIds) do
552552 end
553553
554554 j = j + 1
555- :: continuepositioning ::
555+ :: continuePositioning ::
556556 end
557557 end
558558end
@@ -607,7 +607,7 @@ for _, strFile in ipairs(fileAssets) do
607607 }
608608 end
609609end
610- -- buidl orbits info
610+ -- build orbits info
611611tree .assets = {
612612 CharacterAscendancyLineConnectorActive = {
613613 [1 ]= " CharacterAscendancy_orbit_intermediateactive0.png"
0 commit comments