From f00e29bb43ee18ed7f66eb1c1beba86129695a47 Mon Sep 17 00:00:00 2001 From: Matt J Madsen Date: Mon, 22 Aug 2016 10:44:39 -0500 Subject: [PATCH] Ignore pokemon again (#4563) --- pokemongo_bot/cell_workers/pokemon_catch_worker.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pokemongo_bot/cell_workers/pokemon_catch_worker.py b/pokemongo_bot/cell_workers/pokemon_catch_worker.py index 3211ab7b73..994dc6caec 100644 --- a/pokemongo_bot/cell_workers/pokemon_catch_worker.py +++ b/pokemongo_bot/cell_workers/pokemon_catch_worker.py @@ -105,6 +105,16 @@ def work(self, response_dict=None): # skip ignored pokemon if not self._should_catch_pokemon(pokemon): + self.emit_event( + 'pokemon_appeared', + formatted='Skip ignored {pokemon}! [CP {cp}] [Potential {iv}] [A/D/S {iv_display}]', + data={ + 'pokemon': pokemon.name, + 'cp': pokemon.cp, + 'iv': pokemon.iv, + 'iv_display': pokemon.iv_display, + } + ) return WorkerResult.SUCCESS is_vip = self._is_vip_pokemon(pokemon)