Skip to content

Commit c0a7539

Browse files
committed
SkipSupplyCheck update
1 parent e6ce441 commit c0a7539

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/014-events.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ do
112112
if not skipSupplyCheck then
113113
thresholds = checkAllSupplyThresholds()
114114
end
115-
if _script.returnQueued or thresholds.min or (xeno.getSelfCap() < _config['Capacity']['Hunt-Minimum']) or (_config['Soft Boots']['Mana-Percent'] > 0 and getTotalItemCount(ITEMID.SOFTBOOTS_WORN) > 0) then
115+
if _script.returnQueued or thresholds.min or (xeno.getSelfCap() < _config['Capacity']['Hunt-Minimum'] and not skipSupplyCheck) or (_config['Soft Boots']['Mana-Percent'] > 0 and getTotalItemCount(ITEMID.SOFTBOOTS_WORN) > 0 and not skipSupplyCheck) then
116116
state = 'Walking to exit'
117117
log('Returning to ' .. _script.town .. ' to re-supply.' .. (_script.returnQueued and ' [forced]' or ''))
118118
-- Clean backpacks

0 commit comments

Comments
 (0)