Skip to content

Commit bee1726

Browse files
committed
Fix quarterstaff add modifier essences
1 parent b3d7418 commit bee1726

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2817,8 +2817,10 @@ function ItemsTabClass:AddCustomModifierToDisplayItem()
28172817
return modA.level > modB.level
28182818
end)
28192819
elseif sourceId == "ESSENCE" then
2820+
local itemType = (self.displayItem.type == "Staff" and self.displayItem.base.subType) or
2821+
self.displayItem.type
28202822
for _, essence in pairs(self.build.data.essences) do
2821-
local modId = essence.mods[self.displayItem.type]
2823+
local modId = essence.mods[itemType]
28222824
if modId then
28232825
local mod = self.displayItem.affixes[modId] or data.itemMods.Exclusive[modId]
28242826
if mod then -- passive_hash mods don't get described

0 commit comments

Comments
 (0)