From 99bd3c7379e006e21a7940096a128c12210ec4c5 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 6 May 2023 19:09:26 -0400 Subject: [PATCH] Test for pill color to determine Golden --- eid_modifiers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eid_modifiers.lua b/eid_modifiers.lua index bbf5cc8c..352d3430 100644 --- a/eid_modifiers.lua +++ b/eid_modifiers.lua @@ -561,7 +561,8 @@ if EID.isRepentance then local j = 1 while (j <= #pickupHistory) do local entry = pickupHistory[j] - if entry[1] == "pill" and entry[3] ~= 9999 then + -- ignore the pill if the pill color is Golden + if entry[1] == "pill" and entry[2] ~= 14 then lastUsedPill = entry[3] break end