From 1ae976498b6723e819d4c92dd96401fed01d76d9 Mon Sep 17 00:00:00 2001 From: Kyle Coburn Date: Sun, 5 Apr 2015 13:05:52 -0700 Subject: [PATCH] Remove X-accuracy from Agatha fight, update Blue potion hp --- ai/strategies.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ai/strategies.lua b/ai/strategies.lua index 634b65d..a3aac11 100644 --- a/ai/strategies.lua +++ b/ai/strategies.lua @@ -2848,16 +2848,14 @@ strategyFunctions = { end if pokemon.isOpponent("gengar") then local currentHP = pokemon.info("nidoking", "hp") - -- if not yolo and currentHP <= 56 and not isPrepared("x_speed") then - if not yolo and currentHP <= 56 and not isPrepared("x_accuracy", "x_speed") then + if not yolo and currentHP <= 56 and not isPrepared("x_speed") then local toPotion = inventory.contains("full_restore", "super_potion") if toPotion then inventory.use(toPotion, nil, true) return false end end - -- if not prepare("x_speed") then - if not prepare("x_accuracy", "x_speed") then + if not prepare("x_speed") then return false end end @@ -2905,7 +2903,7 @@ strategyFunctions = { if initialize() then setYolo("blue") end - local skyDmg = combat.healthFor("BlueSky") * 0.9 + local skyDmg = combat.healthFor("BlueSky") * 0.925 local wingDmg = combat.healthFor("BluePidgeot") return strategyFunctions.potion({hp=skyDmg-50, yolo=wingDmg, full=true}) end,