From df9edb7b369fb43933d5374c678ee870a1798e84 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Wed, 28 May 2025 23:06:21 +0200 Subject: [PATCH] Fixed Book of Belial counting towards transformation for Bethany Fixes #857 --- main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 088f6c56..e8cb43fe 100644 --- a/main.lua +++ b/main.lua @@ -1659,7 +1659,8 @@ local function AddActiveItemProgress(player, isD4) if isD4 then maxSlot = 1 end for i = 0, maxSlot do local itemIDStr = tostring(player:GetActiveItem(i)) - if itemIDStr ~= "0" then + -- Book of Virtues does not count as an active item in Repentance + if itemIDStr ~= "0" and not (EID.isRepentance and itemIDStr == "584") then EID:InitActiveItemInteraction(itemIDStr) activesTable[itemIDStr] = activesTable[itemIDStr] + 1 end