Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore Pokemon based on candy #4256

Closed
g2384 opened this issue Aug 19, 2016 · 2 comments
Closed

Ignore Pokemon based on candy #4256

g2384 opened this issue Aug 19, 2016 · 2 comments

Comments

@g2384
Copy link

g2384 commented Aug 19, 2016

Short Description

Ignore Pokemon based on the number of candies

Possible solution

candy = inventory.candies(True).get(pokemon.pokemon_id)
if candy > candy_threshold:
    ignore()
else:
    catch()

in config.json:

"catch": {
      "any": {
            "candy_threshold": 200
      }
 },

How it would help others

It will benefit collection-only users. Keep account exp/h low.

@Lntnam
Copy link

Lntnam commented Aug 23, 2016

It will look more like human too.

@mjmadsen
Copy link
Contributor

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants