From 1c5e8e28e5d8de1b3c3ae8d6e930fc941f579d8b Mon Sep 17 00:00:00 2001 From: Eli White Date: Tue, 9 Aug 2016 11:09:18 -0700 Subject: [PATCH] If you have no other pokeballs, be wiling to use ultra balls --- pokemongo_bot/cell_workers/pokemon_catch_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/cell_workers/pokemon_catch_worker.py b/pokemongo_bot/cell_workers/pokemon_catch_worker.py index d551a68632..fac4b51570 100644 --- a/pokemongo_bot/cell_workers/pokemon_catch_worker.py +++ b/pokemongo_bot/cell_workers/pokemon_catch_worker.py @@ -276,7 +276,7 @@ def _use_berry(self, berry_id, berry_count, encounter_id, catch_rate_by_ball, cu def _do_catch(self, pokemon, encounter_id, catch_rate_by_ball, is_vip=False): # settings that may be exposed at some point berry_id = ITEM_RAZZBERRY - maximum_ball = ITEM_ULTRABALL if is_vip else ITEM_GREATBALL + maximum_ball = ITEM_ULTRABALL ideal_catch_rate_before_throw = 0.9 if is_vip else 0.35 berry_count = self.bot.item_inventory_count(berry_id)