Skip to content

Commit dbaa9b2

Browse files
authored
update rarity check on Ngamahu mod to account for foiled uniques (#9262)
1 parent 91a5571 commit dbaa9b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/ModParser.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2435,14 +2435,14 @@ local specialModList = {
24352435
if node and not node.conqueredBy then
24362436
getSimpleConv({ "PhysicalDamage","FireDamage","ColdDamage","LightningDamage","ChaosDamage","ElementalDamage" }, (dmgType:gsub("^%l", string.upper)).."Damage", "INC", true)(node, out, data)
24372437
end
2438-
end}, {type = "ItemCondition", itemSlot = "{SlotName}", rarityCond = "UNIQUE", neg = true}),
2438+
end}, {type = "ItemCondition", itemSlot = "{SlotName}", rarityCond = "UNIQUE", neg = true}, {type = "ItemCondition", itemSlot = "{SlotName}", rarityCond = "RELIC", neg = true}),
24392439
} end,
24402440
["non%-unique jewels cause small and notable passive skills in a (%a+) radius to also grant %+(%d+) to (%a+)"] = function(_, radius, val, attr) return {
24412441
mod("ExtraJewelFunc", "LIST", {radius = (radius:gsub("^%l", string.upper)), type = "Other", func = function(node, out, data)
24422442
if node and not node.conqueredBy and (node.type == "Notable" or node.type == "Normal") then
24432443
out:NewMod(firstToUpper(attr):match("^%a%l%l"), "BASE", tonumber(val), data.modSource)
24442444
end
2445-
end}, {type = "ItemCondition", itemSlot = "{SlotName}", rarityCond = "UNIQUE", neg = true}),
2445+
end}, {type = "ItemCondition", itemSlot = "{SlotName}", rarityCond = "UNIQUE", neg = true}, {type = "ItemCondition", itemSlot = "{SlotName}", rarityCond = "RELIC", neg = true}),
24462446
} end,
24472447
-- Deadeye
24482448
["projectiles pierce all nearby targets"] = { flag("PierceAllTargets") },

0 commit comments

Comments
 (0)