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

Implement Type Effectiveness for multiple types #2

Open
arirawr opened this issue Mar 13, 2020 · 0 comments
Open

Implement Type Effectiveness for multiple types #2

arirawr opened this issue Mar 13, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@arirawr
Copy link
Owner

arirawr commented Mar 13, 2020

Version 0.1.8 added type effectiveness, but it only calculates this for the first of a Pokemon's types.

For Pokemon with 2 types, it should be calculated as a combination of the 2.
e.g.

  1. If type A take 2x damage from ice, and type B takes 2x damage from ice, type AB takes 4x damage.
  2. If type A take 2x damage from ice, and type B takes 1/2 damage from ice, type AB takes 1x damage.
@arirawr arirawr added enhancement New feature or request good first issue Good for newcomers labels Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant