Skip to content

Commit

Permalink
Merge pull request #5557 from Gobberwart/gobb_dev_fixvipsnipe
Browse files Browse the repository at this point in the history
Fix incorrect VIP in Sniper
  • Loading branch information
Gobberwart authored Sep 20, 2016
2 parents 3a5c36d + 5081316 commit 1bf73e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/sniper.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def is_snipeable(self, pokemon):
# Skip if not in catch list, not a VIP and/or IV sucks (if any)
if pokemon.get('pokemon_name', '') not in self.catch_list:
# This is not in the catch list. Lets see if its a VIP one
if not pokemon.get('vip'):
if not pokemon.get('pokemon_name') in self.bot.config.vips:
# It is not a VIP either. Lets see if its IV is good (if any)
if pokemon.get('iv', 0) < self.special_iv:
self._trace('{} is not listed to catch, nor a VIP and its IV sucks. Skipping...'.format(pokemon.get('pokemon_name')))
Expand Down

0 comments on commit 1bf73e7

Please sign in to comment.