Test for pill color to determine Golden

This commit is contained in:
Buurazu authored and GitHub committed 2023-05-06 19:09:26 -04:00
1 parent 9102104be8
commit 99bd3c7379
1 file changed
+2 -1
+2 -1
View File
@@ -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