Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more type effectiveness info (closes #10) #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phantamanta44
Copy link

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.

…o type pages, add defensive type effectiveness to pokemon pages
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.

1 participant