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: ensure SkillRequirement checks doesn't try to stack boosts #1938

Conversation

pajlada
Copy link
Contributor

@pajlada pajlada commented Jan 11, 2025

Fixes https://discord.com/channels/772056816242130964/772059156710031390/1326472562494013452

This change was split up into 2 commits

  1. Add tests
  2. Fix the broken test

If you run the tests on the first commit, you'll see the test on line 51 fail, and that's the one @Spaenny described in Discord.
With the second commit applied, which includes a bunch of refactoring & the actual fix, you'll see it and all other tests pass.

@pajlada pajlada marked this pull request as ready for review January 11, 2025 13:58
@pajlada pajlada force-pushed the fix/boosts-taking-boosted-levels-into-consideration branch from 9d4a895 to 203604a Compare January 11, 2025 19:04
@Zoinkwiz Zoinkwiz merged commit e21b121 into Zoinkwiz:master Jan 12, 2025
1 check passed
@pajlada pajlada deleted the fix/boosts-taking-boosted-levels-into-consideration branch January 12, 2025 13:33
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.

2 participants