Skip to content

Show more type effectiveness info#33

Open
phantamanta44 wants to merge 1 commit intoZarel:masterfrom
phantamanta44:master
Open

Show more type effectiveness info#33
phantamanta44 wants to merge 1 commit intoZarel:masterfrom
phantamanta44:master

Conversation

@phantamanta44
Copy link

@phantamanta44 phantamanta44 commented Jan 13, 2025

This PR:

  • Adds offensive type effectiveness to type pages
  • Reorganizes type effectiveness information into tables like this: steel type effectiveness tables
  • Adds defensive type effectiveness to Pokémon pages: Tinkaton defensive type effectiveness table

I will say that I don't very much like the use of PokedexTypePanel.prototype here:
https://github.com/phantamanta44/Pokemon-Showdown-Dex/blob/52dfeb284c849df399b4871de85e552401c6e713/js/pokedex-pokemon.js#L80
However, I couldn't find any existing cases of rendering code shared between different panel types (aside from external rendering functions from the Showdown libs), so I wasn't sure how I should structure it.

Closes #10

…o type pages, add defensive type effectiveness to pokemon pages
@Zarel Zarel changed the title Show more type effectiveness info (closes #10) Show more type effectiveness info Jun 19, 2025
@Zarel
Copy link
Owner

Zarel commented Jun 19, 2025

Hey, I actually like this design a lot, except it takes up quite a lot of space. When I have time I'll probably make a button to open it, and have it hidden by default. Or you could do that! Either way, thanks for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why not show pokemon type effectiveness?

2 participants