Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit d314b41

Browse files
committed
Add support for 'Upgrades Radius to #' Time-Lost Jewel modifier
1 parent 7fa8fd3 commit d314b41

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Classes/Item.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,9 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
885885
if deferJewelRadiusIndexAssignment then
886886
self.jewelRadiusIndex = self.jewelData.radiusIndex
887887
end
888+
if self.jewelData and self.jewelData.timeLostJewelRadiusOverride then
889+
self.jewelRadiusIndex = self.jewelData.timeLostJewelRadiusOverride
890+
end
888891
end
889892

890893
function ItemClass:NormaliseQuality()

src/Modules/ModParser.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4589,6 +4589,8 @@ local specialModList = {
45894589
["only affects passives in large ring"] = { mod("JewelData", "LIST", { key = "radiusIndex", value = 10 }) },
45904590
["only affects passives in very large ring"] = { mod("JewelData", "LIST", { key = "radiusIndex", value = 11 }) },
45914591
["only affects passives in massive ring"] = { mod("JewelData", "LIST", { key = "radiusIndex", value = 12 }) },
4592+
["upgrades radius to medium"] = { mod("JewelData", "LIST", { key = "timeLostJewelRadiusOverride", value = 2 })},
4593+
["upgrades radius to large"] = { mod("JewelData", "LIST", { key = "timeLostJewelRadiusOverride", value = 3 })},
45924594
["primordial"] = { mod("Multiplier:PrimordialItem", "BASE", 1) },
45934595
["spectres have a base duration of (%d+) seconds"] = { mod("SkillData", "LIST", { key = "duration", value = 6 }, { type = "SkillName", skillName = "Raise Spectre", includeTransfigured = true }) },
45944596
["flasks applied to you have (%d+)%% increased effect"] = function(num) return { mod("FlaskEffect", "INC", num, { type = "ActorCondition", actor = "player"}) } end,

0 commit comments

Comments
 (0)