Skip to content

Commit f18c5a1

Browse files
authored
fixed increased effect of notables from time-lost jewels breaking notable tooltip (#1712)
1 parent 2e84d43 commit f18c5a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Classes/PassiveTreeView.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,9 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build, incSmallPassi
14011401

14021402
-- Apply Inc Node scaling from Hulking Form + Radius Jewels only visually
14031403
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
1404-
local scale = 1 + (node.type == "Normal" and (incSmallPassiveSkillEffect or 0) + localIncEffect) / 100
1404+
local base = (localIncEffect or 0)
1405+
local scale = 1 + ((node.type == "Normal" and ((incSmallPassiveSkillEffect or 0) + base) or base) / 100)
1406+
14051407
local modsList = copyTable(node.mods[i].list)
14061408
local scaledList = new("ModList")
14071409
scaledList:ScaleAddList(modsList, scale)

0 commit comments

Comments
 (0)