[Suggestion] Keep pokemon based on candy count
Instead of releasing all pokemon but the strongest, I suggest keeping available pokemon for evolution to boost a ton of pokemon for EXP with an egg. For example, if you have 3 Gastlys (25 to evolve) and 54 candy, then bot must remove 1 Gastly. Once candy count is 75, bot will now keep 3 Gastlys.
Here's the formula to calculate how much pokemon of the same type bot can exchange:
if candyTotal > candyForEvolve:
releasecount = pokemoncount - candyTotal//candyForEvolve
if is there so the bot leaves you with at least one copy of that pokemon even if you're out of candy.
Should be used as an argument: -k --keep with tags 'all', 'candy', 'single'. And -c argument should be used then in 'all' mode only.
With this option, this bot will provide users with enourmous amount of exp gain.
If there's no way to get candy evolution cost and total count of candy for particular pokemon from the API, then I could create a hardcoded list with the values.
@ChronoAS I maked a spreadsheet with all the candy cost - there are just 69 pokemon which can evolve. Dont know how much work is a hardcoded list. https://docs.google.com/spreadsheets/d/1ZOixOUTdin3TxLJ3pa5TnFW6WvFTe0Zg3hfTEXz9MJo/edit?usp=sharing
Wondering if anyone is actually working on this enhancement? If So let me know if I can contribute
This is exactly what i wanted to suggest. Any way somebody can make this happen?
Keeping pokemons with low CP but high EV does not make sense to me. Too much candy and too much stardust needed.
in a way, this is similar to #604 could be inmplemented in the same way
This would be extremely helpfull and would allow to save some space in pokemon bag, instead of setting a high keep_best_cp value