mark todo sections
This commit is contained in:
		
							
								
								
									
										8
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								main.py
									
									
									
									
									
								
							| @@ -305,6 +305,8 @@ class LogParser: | |||||||
|                 case ["-heal", pokemon, status, *rest]: |                 case ["-heal", pokemon, status, *rest]: | ||||||
|                     self.hp[pokemon] = int(status.split("/")[0]) |                     self.hp[pokemon] = int(status.split("/")[0]) | ||||||
|  |  | ||||||
|  |                     # TODO: track healing done | ||||||
|  |  | ||||||
|                 # t.Literal, TaggedPokemon, str |                 # t.Literal, TaggedPokemon, str | ||||||
|                 case ["-damage", pokemon, status]: |                 case ["-damage", pokemon, status]: | ||||||
|                     # Pokemon takes direct (non-hazard/condition) damage; status |                     # Pokemon takes direct (non-hazard/condition) damage; status | ||||||
| @@ -442,6 +444,12 @@ class LogParser: | |||||||
|                     LOG.debug(f"{line} <- {last_move}") |                     LOG.debug(f"{line} <- {last_move}") | ||||||
|                     self.last_status_set[(pokemon, cond)] = last_move[0] |                     self.last_status_set[(pokemon, cond)] = last_move[0] | ||||||
|  |  | ||||||
|  |                 # t.Literal, TaggedPokemon, str | ||||||
|  |                 case ["-terastallize", pokemon_, type]: | ||||||
|  |                     pokemon = TaggedPokemon(pokemon_) | ||||||
|  |                     # TODO | ||||||
|  |                     pass | ||||||
|  |  | ||||||
|                 case _: |                 case _: | ||||||
|                     # LOG.debug(f"unhandled message {chunks[0]}") |                     # LOG.debug(f"unhandled message {chunks[0]}") | ||||||
|                     pass |                     pass | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user