Require a fast run to take the extra tree potion
This commit is contained in:
parent
7e93f8815c
commit
f506116aea
|
@ -41,6 +41,13 @@ local function timeForStats()
|
||||||
return timeBonus
|
return timeBonus
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local function timeSaveFor(pokemon)
|
||||||
|
if Pokemon.inParty(pokemon) then
|
||||||
|
return pokemon == "paras" and 0.75 or 0.5
|
||||||
|
end
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
|
||||||
Strategies.timeRequirements = {
|
Strategies.timeRequirements = {
|
||||||
|
|
||||||
bulbasaur = function()
|
bulbasaur = function()
|
||||||
|
@ -55,6 +62,10 @@ Strategies.timeRequirements = {
|
||||||
return timeLimit
|
return timeLimit
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
oldMan = function()
|
||||||
|
return 6.75 + timeSaveFor("spearow")
|
||||||
|
end,
|
||||||
|
|
||||||
brock = function()
|
brock = function()
|
||||||
local timeLimit = 11
|
local timeLimit = 11
|
||||||
if Pokemon.inParty("spearow") then
|
if Pokemon.inParty("spearow") then
|
||||||
|
@ -421,7 +432,7 @@ end
|
||||||
|
|
||||||
strategyFunctions.grabTreePotion = function()
|
strategyFunctions.grabTreePotion = function()
|
||||||
if Strategies.initialize() then
|
if Strategies.initialize() then
|
||||||
if Pokemon.info("squirtle", "hp") > 16 then
|
if Strategies.setYolo("oldMan") or Pokemon.info("squirtle", "hp") > 16 then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue