pokeapi icon indicating copy to clipboard operation
pokeapi copied to clipboard

Pokemon's strengths and weaknesses, or access to all types and their damage relations

Open zigzagoon1 opened this issue 2 years ago • 2 comments

I need to be able to list a Pokemon's strengths and weaknesses, but there doesn't seem to be a way to access that. I saw a similar post and someone gave their solution to the problem but there no longer appears to be a way to access all types damage relations at once anymore.

zigzagoon1 avatar Jan 27 '23 23:01 zigzagoon1

Hi, yeah, weakness is determined by the type/types of the pokemon and the type of the move. You'll have to make some calculations using https://pokeapi.co/docs/v2#types, check damage_relations

Naramsim avatar Feb 02 '23 10:02 Naramsim

Hello, I would like to work on this problem.

yeemans avatar Jul 23 '23 06:07 yeemans