Skip to content

Commit d94587b

Browse files
committed
1 parent cba2513 commit d94587b

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

src/Modules/CalcSetup.lua.rej

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff a/src/Modules/CalcSetup.lua b/src/Modules/CalcSetup.lua (rejected hunks)
2+
@@ -844,7 +844,12 @@ function calcs.initEnv(build, mode, override, specEnv)
3+
item.jewelData.limitDisabled = nil
4+
end
5+
if item and item.type == "Jewel" and item.name:match("The Adorned, Diamond") then
6+
- env.modDB.multipliers["CorruptedMagicJewelEffect"] = item.jewelData.corruptedMagicJewelIncEffect / 100
7+
+ if item.jewelData.corruptedMagicJewelIncEffect then
8+
+ env.modDB.multipliers["CorruptedMagicJewelEffect"] = item.jewelData.corruptedMagicJewelIncEffect / 100
9+
+ end
10+
+ if item.jewelData.corruptedRareJewelIncEffect then
11+
+ env.modDB.multipliers["CorruptedRareJewelEffect"] = item.jewelData.corruptedRareJewelIncEffect / 100
12+
+ end
13+
end
14+
if item.limit and not env.configInput.ignoreJewelLimits then
15+
local limitKey = item.base.subType == "Timeless" and "Historic" or item.title
16+
@@ -1216,8 +1221,8 @@ function calcs.initEnv(build, mode, override, specEnv)
17+
env.itemModDB:ScaleAddMod(mod, scale)
18+
end
19+
end
20+
- elseif env.modDB.multipliers["CorruptedMagicJewelEffect"] and item.type == "Jewel" and item.rarity == "MAGIC" and item.corrupted and slot.nodeId and item.base.subType ~= "Charm" and not env.spec.nodes[slot.nodeId].containJewelSocket then
21+
- scale = scale + env.modDB.multipliers["CorruptedMagicJewelEffect"]
22+
+ elseif env.modDB.multipliers["Corrupted" .. item.rarity:gsub("(%a)(%u*)", function(a, b) return a..string.lower(b) end) .. "JewelEffect"] and item.type == "Jewel" and item.corrupted and slot.nodeId and item.base.subType ~= "Charm" and not env.spec.nodes[slot.nodeId].containJewelSocket then
23+
+ scale = scale + env.modDB.multipliers["Corrupted" .. item.rarity:gsub("(%a)(%u*)", function(a, b) return a..string.lower(b) end) .. "JewelEffect"]
24+
local combinedList = new("ModList")
25+
for _, mod in ipairs(srcList) do
26+
combinedList:MergeMod(mod)

src/Modules/ModParser.lua.rej

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua (rejected hunks)
2+
@@ -5357,8 +5357,8 @@ local specialModList = {
3+
["added small passive skills grant nothing"] = { mod("JewelData", "LIST", { key = "clusterJewelSmallsAreNothingness", value = true }) },
4+
["added small passive skills have (%d+)%% increased effect"] = function(num) return { mod("JewelData", "LIST", { key = "clusterJewelIncEffect", value = num }) } end,
5+
["this jewel's socket has (%d+)%% increased effect per allocated passive skill between it and your class' starting location"] = function(num) return { mod("JewelData", "LIST", { key = "jewelIncEffectFromClassStart", value = num }) } end,
6+
- ["(%d+)%% increased effect of jewel socket passive skills containing corrupted magic jewels, if not from cluster jewels"] = function(num) return { mod("JewelData", "LIST", { key = "corruptedMagicJewelIncEffect", value = num }) } end,
7+
- ["(%d+)%% increased effect of jewel socket passive skills containing corrupted magic jewels"] = function(num) return { mod("JewelData", "LIST", { key = "corruptedMagicJewelIncEffect", value = num }) } end,
8+
+ ["(%d+)%% increased effect of jewel socket passive skills containing corrupted (m?r?ag?r?i?e?c?) jewels, if not from cluster jewels"] = function(num, _, rarity) return { mod("JewelData", "LIST", { key = "corrupted" .. firstToUpper(rarity) .. "JewelIncEffect", value = num }) } end,
9+
+ ["(%d+)%% increased effect of jewel socket passive skills containing corrupted (m?r?ag?r?i?e?c?) jewels"] = function(num, _, rarity) return { mod("JewelData", "LIST", { key = "corrupted" .. firstToUpper(rarity) .. "JewelIncEffect", value = num }) } end,
10+
-- Misc
11+
["fully broken armour effects also apply to fire damage taken from hits"] = { flag("ArmourBreakFireDamageTaken"), },
12+
["can't use chest armour"] = { mod("CanNotUseBody", "Flag", 1, { type = "DisablesItem", slotName = "Body Armour" }) },

0 commit comments

Comments
 (0)