-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds a missed shot opportunity. This will reduce the 100% hit rate and humanise the throwing behaviour. * * Added the new value to config.json.example. * A little house cleaning * Fixing error in logic * Changing sleep for action_delay * * Updated config example * Fixed simulation changes * Fixes bugs
- Loading branch information
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
198510b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure how the python's random() work, but I believe this isn't the best approach to reach that hit chance effect. random() >= hit_chance doesnt guarantee the hit chance percentage defined. I can't come up with a better solution now, but will surely do right when I have time for it.