Test for pill color to determine Golden
This commit is contained in:
1 parent
9102104be8
commit
99bd3c7379
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user