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

fix(calculateClickAttack): Fix achievement bonus counted twice #318

Merged
merged 1 commit into from
Oct 19, 2023
Merged

fix(calculateClickAttack): Fix achievement bonus counted twice #318

merged 1 commit into from
Oct 19, 2023

Conversation

Xwaler
Copy link
Contributor

@Xwaler Xwaler commented Oct 16, 2023

It seems that getBonus() now includes the achievement bonus, so the copy of the calculateClickAttack method is out of date and applies the achievement bonus multiplier twice.

This results in a choice of route/gym that cannot be completed in a single click, greatly reducing efficiency.

@Farigh Farigh added the bug Something isn't working label Oct 18, 2023
Copy link
Owner

@Farigh Farigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the contribution

@Farigh Farigh merged commit cf940b1 into Farigh:master Oct 19, 2023
1 check passed
@Farigh Farigh added this to the v0.6 milestone Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants