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

Customizable throws #2548

Merged
merged 5 commits into from
Aug 3, 2016
Merged

Conversation

Codecamv
Copy link

@Codecamv Codecamv commented Aug 3, 2016

Added customizable throws as current version throws excellent curve balls 100% time. New config. values to adjust the rate. Currently all throws hit but can be distributed through settings.
#1895

@BornSupercharged BornSupercharged merged commit 289680a into NecronomiconCoding:master Aug 3, 2016
@Codecamv
Copy link
Author

Codecamv commented Aug 3, 2016

Sorry about that, I'll try to explain the commit better.

This commit introduces more human-like pokeball throws. If you enable HumanizedThrows you may also specify the percentage of different quality throws; nice, great or excellent hits (bonus). You can specify the percentage of throws that are curved (spin bonus) as well.

By turning on humanized throws you will use more pokeballs, also more pokemons will flee, because bonuses affect catch rate. However, throwing excellent spin balls 100% of the time is very bot-like and may be flagged by Niantic.

Config explanation (hopefully soon in wiki):
EnableHumanizedThrows (true/false)
'false' is default; all balls will be thrown at Pokemons and hit with excellent bonus and curve/spin bonus (just like before this commit).
'true' enables humanized throws where bot throws anything from regular to excellent hits.

NiceThrowChance
Percentage of nice hits

GreatThrowChance
Percentage of great hits

ExcellentThrowChance
Percentage of excellent hits

CurveThrowChance
Percentage of curve/spin balls

ForceGreatThrowOverIv
Forces a great throw if IV% is over specified value

ForceExcellentThrowOverIv
Forces an excellent throw if IV% is over specified value

ForceGreatThrowOverCp
Forces a great throw if CP is over specified value

ForceExcellentThrowOverCp
Forces an excellent throw if CP is over specified value

Hope this makes more sense @salvob41 ?

schnapster pushed a commit to schnapster/NecroBot that referenced this pull request Dec 8, 2016
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

Successfully merging this pull request may close these issues.

3 participants