[Suggestion] Handle Pokemon with high flee chance
I use 0.7 as desiredCatchProbability and it catches everything on the first try... except Abra and Ghastly. Certain Pokemon just have a higher than normal flee chance. Could we implement something to handle them differently? Perhaps have a separate desiredCatchProbability for Pokemon listed in an array called likelyToFlee. This would cause the bot to use a higher level ball and increase the chance of it using a berry, correct?
Example:
{ "desiredCatchProbability" : 0.7, "desiredFleeCatchProbability" : 0.9, "likelyToFlee" : [ "ABRA", "GHASTLY" ] }
I am using .8 and its using raz berries and curve throws and highest ball I have, but it appears to be based off their CP instead of the pokemon itself.
The current implementation is here: https://github.com/jabbink/PokemonGoBot/blob/develop/src/main/kotlin/ink/abb/pogo/scraper/util/pokemon/CatchablePokemon.kt#L37 It uses https://github.com/AeonLucid/POGOProtos/tree/master/src/POGOProtos to determine probabilities, I think. What might you improve about it?
There are two types of probabilities, but it seems only one is being factored in which is catchProbability. However, there are also certain Pokemon who have it in their nature to flee after the first failed throw. For these Pokemon with a high "fleeProbability", I would have the bot use a second catchProbability defined in the config for its calculation.
Was something changed in the way it catches Pokemon? I'm still on .8 and I never have Ultra Balls or Raspberries when I log in. I've watched it use both for a 42cp Rattata and I don't remember that before.
@SSminowjohnson I've had good luck by lowering the value to 0.6 and as Ieveled up I had to lower it even more to 0.4.
Almost no Pokemon flee and it rarely uses anything other than Pokeballs.
I have it set to 0.4 and it just used a Razz Berry on a Kakuna with CP 147 then it did not use one on a Poliwag with CP 266 and the Poliwag got away. Seems like it should have used the Razz Berry on the Poliwag instead of the Kakuna?
Is anyone sure that the catch probabilities the server sends do not account for this already? If so, this was in the bot all along.
Closing due to inactivity.