PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Catch_under_cp?

Open WillM88 opened this issue 10 years ago • 3 comments

Is there a catch under cp option? I'm running out of pokeballs because of the high cp pidgeys and such. Anyone else having this problem?

WillM88 avatar Jul 31 '16 10:07 WillM88

modify your release_config.json to your needs.

maciejpk avatar Jul 31 '16 10:07 maciejpk

However, if you want not to capture pokemon that have IV higher than default value (0.8) and have for example CP < 100, you'll have to replace the lines in def should_release_pokemon in pokemon_catch_worker.py and evolve_all_worker.py.

if 'release_under_iv' in release_config:
    min_iv = release_config['release_under_iv']
    if iv < min_iv:
        release_results['iv'] = True

to this

if 'release_under_iv' in release_config:
    min_iv = release_config['release_under_iv']
    if iv < min_iv:
        release_results['iv'] = True
    else:
        if release_results['cp'] == True:
            release_results['iv'] = True

maciejpk avatar Jul 31 '16 10:07 maciejpk

@astose Thank you!

WillM88 avatar Jul 31 '16 10:07 WillM88