Fix Grafts disabling Eternity Shroud ignore resistance mod (#9304)

Forgot to add grafts as a item type to exclude from the item count checks

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
This commit is contained in:
LocalIdentity
2025-11-21 14:20:20 +11:00
committed by GitHub
parent 6ac11eac6f
commit 1097e0f6ce

View File

@@ -1099,7 +1099,7 @@ function calcs.initEnv(build, mode, override, specEnv)
if item.classRestriction then
env.itemModDB.conditions[item.title:gsub(" ", "")] = item.classRestriction
end
if item.type ~= "Jewel" and item.type ~= "Flask" and item.type ~= "Tincture" then
if item.type ~= "Jewel" and item.type ~= "Flask" and item.type ~= "Tincture" and item.type ~= "Graft" then
-- Update item counts
local key
if item.rarity == "UNIQUE" or item.rarity == "RELIC" then