diff --git a/main.py b/main.py index 97ef470..50fd29f 100755 --- a/main.py +++ b/main.py @@ -305,6 +305,8 @@ class LogParser: case ["-heal", pokemon, status, *rest]: self.hp[pokemon] = int(status.split("/")[0]) + # TODO: track healing done + # t.Literal, TaggedPokemon, str case ["-damage", pokemon, status]: # Pokemon takes direct (non-hazard/condition) damage; status @@ -442,6 +444,12 @@ class LogParser: LOG.debug(f"{line} <- {last_move}") self.last_status_set[(pokemon, cond)] = last_move[0] + # t.Literal, TaggedPokemon, str + case ["-terastallize", pokemon_, type]: + pokemon = TaggedPokemon(pokemon_) + # TODO + pass + case _: # LOG.debug(f"unhandled message {chunks[0]}") pass