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

Call recalculateAdjustments after loading skills. #2011

Merged
merged 1 commit into from Oct 12, 2023

Conversation

heeheehee-kolmafia
Copy link
Contributor

This also includes a couple more changes to make sure that we don't accidentally populate availablePassiveSkillModifiersByVariable before we have any skills ready.

This doesn't handle the scenario where the skills list changes, but it should handle the most common scenarios (login, kingLiberated come to mind).

This also includes a couple more changes to make sure that we don't
accidentally populate availablePassiveSkillModifiersByVariable before we
have any skills ready.

This doesn't handle the scenario where the skills list changes, but it
should handle the most common scenarios (login, kingLiberated come to
mind).
@heeheehee-kolmafia heeheehee-kolmafia requested a review from a team as a code owner October 12, 2023 00:27
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #2011 (14cf330) into main (7291e74) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #2011      +/-   ##
============================================
+ Coverage     36.97%   36.99%   +0.01%     
- Complexity    19278    19298      +20     
============================================
  Files          1090     1090              
  Lines        167224   167227       +3     
  Branches      35430    35431       +1     
============================================
+ Hits          61829    61862      +33     
+ Misses        95475    95462      -13     
+ Partials       9920     9903      -17     
Files Coverage Δ
src/net/sourceforge/kolmafia/KoLmafia.java 37.90% <100.00%> (+1.12%) ⬆️
src/net/sourceforge/kolmafia/Modifiers.java 75.10% <100.00%> (+0.06%) ⬆️

... and 13 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7291e74...14cf330. Read the comment docs.

Copy link
Member

@midgleyc midgleyc left a comment

Choose a reason for hiding this comment

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

Thanks!

@midgleyc midgleyc merged commit 5174c97 into main Oct 12, 2023
8 checks passed
@midgleyc midgleyc deleted the passive-skill-modifiers branch October 12, 2023 07:19
nasurte pushed a commit to nasurte/kolmafia that referenced this pull request Oct 30, 2023
This also includes a couple more changes to make sure that we don't
accidentally populate availablePassiveSkillModifiersByVariable before we
have any skills ready.

This doesn't handle the scenario where the skills list changes, but it
should handle the most common scenarios (login, kingLiberated come to
mind).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants