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

New behaviour: total amount of pokeballs. #2070

Closed
Breakster opened this issue Jul 31, 2016 · 2 comments
Closed

New behaviour: total amount of pokeballs. #2070

Breakster opened this issue Jul 31, 2016 · 2 comments

Comments

@Breakster
Copy link
Contributor

I added the following behaviour. It allows you to specify an overall amount of balls to keep. If you exceed the amount, the bot first tries to ditch pokeballs, then greatballs and so on. See below for an example. If anyone is interested i can submit a pull request.

[16:28:53] Now at Pokestop: ####
[16:28:53] Spinning ...
[16:28:53] Loot:
[16:28:53] 50 xp
[16:28:53] - 1x Pokeball (Total: 101)
[16:28:53] - 1x Greatball (Total: 33)
[16:28:53] - 1x Razz Berry (Total: 10)
[16:28:53] PokeStop on cooldown. Time left: 4 minutes, 59 seconds
[16:28:56] Keeping 150 balls in total
[16:28:56] -- Recycled 2x Pokeball

@knobunc
Copy link

knobunc commented Jul 31, 2016

YES PLEASE! Same for potions, etc.!

@Parth6182
Copy link

Can you also help me keep a specific amount of greatballs? the same way it keeps only 100 pokemballs ( i.e.. whats the code for a great ball and ultra ball )

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

No branches or pull requests

4 participants