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
2 changes: 1 addition & 1 deletion src/Modules/CalcPerform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ function calcs.perform(env, skipEHP)

for slot, item in pairs(env.player.itemList) do
local slotEffectMod = modDB:Sum("INC", nil, "EffectOfBonusesFrom" .. slot) / 100
if slotEffectMod > 0 then
if slotEffectMod > 0 and slot ~= "Amulet" then
if item.name:match("Kalandra's Touch") then
if slot == "Ring 2" then
item = env.player.itemList["Ring 1"]
Expand Down
12 changes: 11 additions & 1 deletion src/Modules/CalcSetup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1373,10 +1373,20 @@ function calcs.initEnv(build, mode, override, specEnv)
local modList = env.player.itemList["Weapon 2"].modList
for _, mod in ipairs(modList) do
local modCopy = copyTable(mod)
modCopy.source = "Many Sources:" .. tostring(quiverEffectMod * 100) .. "% Quiver Bonus Effect"
modCopy.source = "Many Sources:".. colorCodes.SOURCE .. tostring(quiverEffectMod * 100) .. "% Quiver Bonus Effect"
modDB:ScaleAddMod(modCopy, quiverEffectMod)
end
end

if env.player.itemList["Amulet"] and env.player.itemList["Amulet"].type == "Amulet" then
local amuletEffectMod = env.modDB:Sum("INC", nil, "EffectOfBonusesFromAmulet") / 100
local modList = env.player.itemList["Amulet"].modList
for _, mod in ipairs(modList) do
local modCopy = copyTable(mod)
modCopy.source = "Many Sources:".. colorCodes.SOURCE .. tostring(amuletEffectMod * 100) .. "% Amulet Bonus Effect"
modDB:ScaleAddMod(modCopy, amuletEffectMod)
end
end

-- Find skills granted by tree nodes
if not accelerate.nodeAlloc then
Expand Down
Loading