Skip to content

Commit e449b3d

Browse files
author
justjuangui
committed
Fix typos in ascendancy handling and update inner radius calculations in passive tree script
1 parent fb73b17 commit e449b3d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/Export/Scripts/passivetree_ggg.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ for i,class in ipairs(data.classes) do
180180

181181
for indexAscendancy, ascendancy in ipairs(class.ascendancies) do
182182
if ascendancy.id == "Witch3b" then
183-
print("Ignoring Abysal Lich no way to handle from data.json")
183+
print("Ignoring Abyssal Lich no way to handle from data.json")
184184
goto nextAscendancy
185185
end
186186
if not ascendancy.name then
@@ -525,8 +525,8 @@ for i, classId in ipairs(classesNodeIds) do
525525

526526
local innerRadius= dat("ascendancy"):GetRow("Id", ascendancy.internalId).distanceTree
527527

528-
local newInnerX = cX + math.cos(angleToCenter) * innerRadious
529-
local newInnerY = cY + math.sin(angleToCenter) * innerRadious
528+
local newInnerX = cX + math.cos(angleToCenter) * innerRadius
529+
local newInnerY = cY + math.sin(angleToCenter) * innerRadius
530530

531531
local nodeAngle = tree.constants.orbitAnglesByOrbit[ascendancyNode.orbit + 1][ascendancyNode.orbitIndex + 1]
532532
local orbitRadius = tree.constants.orbitRadii[ascendancyNode.orbit + 1]
@@ -608,6 +608,7 @@ for _, strFile in ipairs(fileAssets) do
608608
end
609609
end
610610
-- build orbits info
611+
-- spell-checker: disable
611612
tree.assets={
612613
CharacterAscendancyLineConnectorActive={
613614
[1]="CharacterAscendancy_orbit_intermediateactive0.png"
@@ -880,6 +881,7 @@ tree.assets={
880881
[1]="CharacterPlanned_orbit_normal1.png"
881882
}
882883
}
884+
-- spell-checker: enable
883885

884886
printf("Generating lua tree file")
885887
local out, err = io.open(fileTree, "w")

0 commit comments

Comments
 (0)