This commit is contained in:
Kyle Coburn 2015-05-02 01:57:14 -07:00
parent 79e3da9e35
commit 909c27fe9c
2 changed files with 2 additions and 3 deletions

View File

@ -494,8 +494,7 @@ strategyFunctions.grabTreePotion = function()
local current = Utils.igt()
local limit = Strategies.getTimeRequirement("old_man") * 60
local diff = math.floor((limit - current) / 5)
p("grab", diff)
if Pokemon.info("squirtle", "hp") > 13 + diff then
if Pokemon.info("squirtle", "hp") > 14 + diff then
return true
end
end

View File

@ -9,7 +9,7 @@ local PAINT_ON = true -- Display contextual information while the bot runs
-- START CODE (hard hats on)
VERSION = "1.5.1"
VERSION = "1.5.2"
local START_WAIT = 99