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

[Suggestion] Parameter to not transfer if IV is higher than current highest

Open CtrlAltDefeat94 opened this issue 10 years ago • 8 comments

Currently, we set a hardwritten IV requirement that needs to be met for a pokemon NOT to be transferred. This would mean that if you don't already have the pokemon, if the IV is too low, it wont be kept anyway..

Wouldn't it be more logical to look at the Pokemon you currently have, and then determine which has the highest IV and transfer the lower one(s)?

CtrlAltDefeat94 avatar Jul 23 '16 19:07 CtrlAltDefeat94

This would be great.

lpalbyrodri avatar Jul 23 '16 19:07 lpalbyrodri

Where is the transfer code? I can maybe try writing some simple if comparisons to see if it'll work? Sorry, I'm so new at this.

celinereine avatar Jul 23 '16 19:07 celinereine

@celinereine https://github.com/PokemonGoF/PokemonGo-Bot/blob/17db0f5bf6b8c4650f1e48fb65bce71e673d8a51/pokemongo_bot/cell_workers/pokemon_catch_worker.py#L133

pol0nium avatar Jul 23 '16 19:07 pol0nium

@pol0nium Is this where the "initial transfer" logic is placed? It looks like it's for catching pokemon parameters. Sorry for being such an amateur lol

celinereine avatar Jul 23 '16 19:07 celinereine

Do you think that line of code would be better if it were: if cp < self.config.cp && pokemon_potential < self.config.pokemon_potential:

That way when catching pokemon, if the IV were 100 but it were less than the cp specified, the pokemon would still be kept?

celinereine avatar Jul 23 '16 20:07 celinereine

This PR will change the release logic.

pol0nium avatar Jul 23 '16 20:07 pol0nium

@celinereine initial transfer logic

pol0nium avatar Jul 23 '16 20:07 pol0nium

exists in current dev

CapCap avatar Jul 30 '16 21:07 CapCap