Improve support for disabling reset for time mode

This commit is contained in:
Kyle Coburn 2015-04-03 22:38:48 -07:00
parent 6a4824084e
commit f4ceb8e8e5
2 changed files with 6 additions and 2 deletions

View File

@ -107,6 +107,7 @@ local timeRequirements = {
blue = function()
return 108.2
end,
}
-- RISK/RESET
@ -179,6 +180,9 @@ local function getTimeRequirement(name)
end
local function setYolo(name)
if not RESET_FOR_TIME then
return false
end
local minimumTime = getTimeRequirement(name)
local shouldYolo = overMinute(minimumTime)
if yolo ~= shouldYolo then

View File

@ -99,10 +99,10 @@ end
print("Welcome to PokeBot "..GAME_NAME.." version "..VERSION)
STREAMING_MODE = not walk.init()
if STREAMING_MODE then
if INTERNAL and STREAMING_MODE then
RESET_FOR_TIME = true
end
-- STREAMING_MODE = false --TODO disable
if CUSTOM_SEED then
client.reboot_core()
else