Skip to content

Commit

Permalink
Fix throw type always normal when trying to catch pokemon (#2130)
Browse files Browse the repository at this point in the history
  • Loading branch information
GepLik authored and douglascamata committed Jul 31, 2016
1 parent 5826c6e commit a160fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/pokemon_catch_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def work(self):
spawn_point_id=self.spawn_point_guid,
hit_pokemon=1,
spin_modifier=spin_modifier_parameter,
NormalizedHitPosition=1)
normalized_hit_position=1)
response_dict = self.api.call()

if response_dict and \
Expand Down

3 comments on commit a160fa7

@DimaVIII
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Work!

@pokemule
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Likael Excellent work (Y). Would it be possible to set a % chance for each type of throw like: throw an excellent throw 50% of the time, throw a good throw 20% of the time, and throw a normal throw 30% of the time as you mentioned in #1205?

@GepLik
Copy link
Contributor Author

@GepLik GepLik commented on a160fa7 Aug 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)
@pokemule Hopefully tonight. It's around and working, I just need to make it pretty for the PR.

Please sign in to comment.