Skip to content

Commit 5ec5a91

Browse files
committed
remove ring 3 when deallocating Unseen Hand
1 parent 2fca8f4 commit 5ec5a91

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/Classes/PassiveSpec.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,16 @@ function PassiveSpecClass:DeallocNode(node)
801801
self:DeallocSingleNode(depNode)
802802
end
803803

804+
-- clear any item in Ring 3 when The Unseen Hand is deallocated
805+
if node.id == 43902 and node.dn:match("Unseen Hand") then
806+
local ringSlot = self.build.itemsTab.slots["Ring 3"]
807+
if ringSlot then
808+
ringSlot.selIndex = 1
809+
ringSlot:SetSelItemId(0)
810+
self.build.buildFlag = true
811+
end
812+
end
813+
804814
-- Rebuild all paths and dependencies for all allocated nodes
805815
self:BuildAllDependsAndPaths()
806816
end

0 commit comments

Comments
 (0)