-
-
Notifications
You must be signed in to change notification settings - Fork 650
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: supreme revelation modifiers initialization #3009
Conversation
This fixes several issues causing the "Supreme Revelation Perks" from the wheel to not work correctly. Firstly, the `m_value` in `wheel_gems.hpp` was not being initialized, resulting in the extra points value always being 0. Secondly, the order of variable initialization was incorrect, which caused the points to be used before they were loaded, also resulting in a value of 0. Additionally, smaller functions were created to improve readability and maintainability, thus preventing future errors like this one.
Fixed, please test again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it's working as expected.
Quality Gate passedIssues Measures |
Description
This fixes several issues causing the "Supreme Revelation Perks" from the wheel to not work correctly.
Firstly, the
m_value
inwheel_gems.hpp
was not being initialized, resulting in the extra points value always being 0.Secondly, the order of variable initialization was incorrect, which caused the points to be used before they were loaded, also resulting in a value of 0.
Additionally, smaller functions were created to improve readability and maintainability, thus preventing future errors like this one.
Removed several unused Lua functions.
Behaviour
Actual
Attempting to use "Supreme Revelation Perks" results in no points being applied.
Expected
"Supreme Revelation Perks" should correctly apply the expected extra points.
Fixes #2780
How Has This Been Tested
Type of change
Please delete options that are not relevant.
Checklist