Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions src/Export/Scripts/passivetree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ local use4kIfPossible = false
local idPassiveTree = 'Default'
-- Find a way to get version
local basePath = GetWorkDir() .. "/../TreeData/"
local version = "0_4"
local version = "0_5"
local path = basePath .. version .. "/"
local fileTree = path .. "tree.lua"

Expand Down Expand Up @@ -726,6 +726,12 @@ for i, group in ipairs(psg.groups) do
addToSheet(getSheet("skills-disabled"), passiveRow.Icon, "normalInactive", commonMetadata(nil))
end

-- Sinister jewel support
if passiveRow.JewelSocket and passiveRow.AnointOnly then
node["aliasPassiveSocket"] = passiveRow.Id
node["noRadius"] = true
end

-- Ascendancy
if passiveRow.Ascendancy ~= nil then
groupIsAscendancy = true
Expand Down Expand Up @@ -800,9 +806,9 @@ for i, group in ipairs(psg.groups) do
end

-- Enable Ascendancy Unlock
if passiveRow.AscendancyUnlock ~= nil then
if passiveRow.ConstraintNode ~= nil and #passiveRow.ConstraintNode > 0 then
node.unlockConstraint = {
ascendancy = passiveRow.AscendancyUnlock.Name,
ascendancy = passiveRow.AscendancyUnlock and passiveRow.AscendancyUnlock.Name or nil,
nodes = {}
}

Expand All @@ -822,6 +828,13 @@ for i, group in ipairs(psg.groups) do
local totalStats = 0
local namesStats = ""
for k, stat in ipairs(passiveRow.Stats) do
if k > 5 then
printf("HERE ===========================================================================================>>>")
printf(" - more than 5 stats, skipping the rest for passive " .. passiveRow.Name .. " " .. passive.id)
print(namesStats .. stat.Id .. " | ")
printf("HERE ===========================================================================================>>>")
break
end
parseStats[stat.Id] = { min = passiveRow["Stat" .. k], max = passiveRow["Stat" .. k] }
totalStats = totalStats + 1
namesStats = namesStats .. stat.Id .. " | "
Expand Down
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_intermediate9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal5.png
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal6.png
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal7.png
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal8.png
Binary file modified src/TreeData/0_5/CharacterAscendancy_orbit_normal9.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate0.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate1.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate2.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate3.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate4.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate5.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate6.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate7.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate8.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediate9.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive0.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive1.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive2.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive3.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive4.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive5.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive6.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive7.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive8.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_intermediateactive9.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal0.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal1.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal2.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal3.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal4.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal5.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal6.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal7.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal8.png
Binary file modified src/TreeData/0_5/CharacterPlanned_orbit_normal9.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate0.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate1.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate2.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate3.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate4.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate5.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate6.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate7.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate8.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediate9.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive0.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive1.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive2.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive3.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive4.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive5.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive6.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive7.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive8.png
Binary file modified src/TreeData/0_5/Character_orbit_intermediateactive9.png
Binary file modified src/TreeData/0_5/Character_orbit_normal0.png
Binary file modified src/TreeData/0_5/Character_orbit_normal1.png
Binary file modified src/TreeData/0_5/Character_orbit_normal2.png
Binary file modified src/TreeData/0_5/Character_orbit_normal3.png
Binary file modified src/TreeData/0_5/Character_orbit_normal4.png
Binary file modified src/TreeData/0_5/Character_orbit_normal5.png
Binary file modified src/TreeData/0_5/Character_orbit_normal6.png
Binary file modified src/TreeData/0_5/Character_orbit_normal7.png
Binary file modified src/TreeData/0_5/Character_orbit_normal8.png
Binary file modified src/TreeData/0_5/Character_orbit_normal9.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/TreeData/0_5/legion_1024_1024_BC7.dds.zst
Binary file not shown.
Binary file added src/TreeData/0_5/legion_128_128_BC1.dds.zst
Binary file not shown.
Binary file added src/TreeData/0_5/legion_564_564_BC7.dds.zst
Binary file not shown.
Binary file added src/TreeData/0_5/legion_64_64_BC1.dds.zst
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/TreeData/0_5/oils_108_108_RGBA.dds.zst
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/TreeData/0_5/skills_128_128_BC1.dds.zst
Binary file not shown.
Binary file added src/TreeData/0_5/skills_172_172_BC1.dds.zst
Binary file not shown.
Binary file added src/TreeData/0_5/skills_176_176_BC1.dds.zst
Binary file not shown.
Binary file added src/TreeData/0_5/skills_64_64_BC1.dds.zst
Binary file not shown.
1 change: 1 addition & 0 deletions src/TreeData/0_5/tree.json

Large diffs are not rendered by default.

Loading
Loading