Skip to content

Commit ac5a7b5

Browse files
Blitz54Wires77
andauthored
Fix iron mass triple damage in offhand (#8846)
Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
1 parent 79b5dc8 commit ac5a7b5

File tree

3 files changed

+285
-4
lines changed

3 files changed

+285
-4
lines changed

src/Classes/ModStore.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,11 @@ function ModStoreClass:EvalMod(mod, cfg, globalLimits)
617617
t_insert(matches, item.elder == tag.elderCond)
618618
end
619619
end
620-
620+
if tag.nameCond then
621+
for _, item in pairs(items) do
622+
t_insert(matches, item.name and item.name:lower() == tag.nameCond:lower())
623+
end
624+
end
621625
local hasItems = false
622626
for _, item in pairs(items) do
623627
hasItems = true

0 commit comments

Comments
 (0)