Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/Classes/PassiveTreeView.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build, incSmallPassi
end

-- Apply Inc Node scaling from Hulking Form + Radius Jewels only visually
if (incSmallPassiveSkillEffect + localIncEffect) > 0 and (node.type == "Normal" or node.type == "Notable") and not node.isAttribute and not node.ascendancyName and node.mods[i].list then
if ((incSmallPassiveSkillEffect + localIncEffect) > 0 and node.type == "Normal") or (localIncEffect > 0 and node.type == "Notable") and not node.isAttribute and not node.ascendancyName and node.mods[i].list then
local scale = 1 + (node.type == "Normal" and incSmallPassiveSkillEffect or 0 + localIncEffect) / 100
local modsList = copyTable(node.mods[i].list)
local scaledList = new("ModList")
Expand All @@ -1259,7 +1259,7 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build, incSmallPassi
elseif type(mod.value) == "table" then
newValue = mod.value.mod.value
end
line = line:gsub("%d*%.?%d+", math.abs(newValue))
line = line:gsub("%d*%.?%d+", math.abs(newValue), 1) -- Only scale first number in line
end
-- line = line .. " ^8(Effect increased by "..incSmallPassiveSkillEffect.."%)"
end
Expand Down