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

[Feature Request] Prevent release of bulk-evolvable pokemon (config)

Open HecticSeptic opened this issue 10 years ago • 1 comments

Desired Behavior

Keep only just enough (e.g.) Pidgeys for a batch evolve:

If the total candies needed to evolve all pokemon 'x' is less than held x candies, then do not release any pokemon x - because we want more of x for the next [manual] xp egg pop and batch evolve If we have more Pidgeys than we have (Pidgey candies /12), we can then use normal release logic

pseudocode example: candiesPerEvolve = 12 ## in the most important cases ... if (keepEvolvable) if (candiesPerEvolve * count(bot.getPokemon("Pidgey")) < bot.getCandies("Pidgey")) release = False ...

Actual Behavior

No apparent way to keep a good number of pidgeys, caterpies and weedles for batch evolve. Setting keep_best_cp (and or IV) too high just results in a full box/inventory (and error).

Steps to Reproduce

Add keepEvolvable flag to release config in json file. Handle unset or mistyped flags. Change transfer_pokemon.py to cancel any release which would reduce batch evolves if flag is true

Future addition: if evolve is set in config, only do so once pokemon inventory fills up, that way the max batch evolve output can be reached with the xp egg Potential max: if using 20s evolves, only 30 are needed, could have "Pidgey,Weedle,Caterpie": {"keep_best_cp": 30, "keepEvolvable": True} // (i.e. all three together total 30 and can all evolve)

Other Information

OS: Should be independent Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) N/A

HecticSeptic avatar Jul 31 '16 02:07 HecticSeptic

#1973 suggests the same feature, within seconds of this one.

HecticSeptic avatar Jul 31 '16 02:07 HecticSeptic