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

[Bug] Analytic should only increase damage if the user moves last #4917

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

DayKev
Copy link
Collaborator

@DayKev DayKev commented Nov 19, 2024

What are the changes the user will see?

In doubles, Analytic will no longer erroneously boost damage if the target moves before the user and the other Pokémon have not.

Why am I making these changes?

Move is bugged, see #3503 (comment)

What are the changes from a developer perspective?

The condition function for Analytic is changed.
Tests were added for Analytic.

How to test the changes?

npm run test analytic

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • [ ] Have I tested the changes manually?
  • Are all unit tests still passing? (npm run test)
    • Have I created new automated tests (npm run create-test) or updated existing tests related to the PR's changes?
  • [ ] Have I provided screenshots/videos of the changes (if applicable)?
    • [ ] Have I made sure that any UI change works for both UI themes (default and legacy)?

@DayKev DayKev added Move Affects a move P2 Bug Minor. Non crashing Incorrect move/ability/interaction labels Nov 19, 2024
@DayKev DayKev requested a review from a team as a code owner November 19, 2024 07:08
@DayKev DayKev changed the title [Bug] Analytic only increases damage if the user moves last [Bug] Analytic should only increase damage if the user moves last Nov 19, 2024
src/data/ability.ts Outdated Show resolved Hide resolved
@DayKev DayKev merged commit 03b073f into pagefaultgames:beta Nov 29, 2024
13 checks passed
@DayKev DayKev deleted the fix-analytic branch November 29, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Move Affects a move P2 Bug Minor. Non crashing Incorrect move/ability/interaction
Development

Successfully merging this pull request may close these issues.

4 participants