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 to respect the AutoDetect setting. #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

antilectual
Copy link
Contributor

This fix allows the check for stacks after stacking to use the AutoDetect setting when it is enabled. Previously stacks were being compared against the Target Haste stacks even though AutoDetect does not use that value.

Also corrected the conditional check for write settings in the addon's reload settings method used by the Gem Farm Script.

Matt added 2 commits April 21, 2023 07:03
- Conditional should be checking "if variable == true" not "if variable := true" as the latter is equivalent to "if true", which negates the need to have a conditional check.
…tionality.

- When the BrivUserSetting "AutoCalculateBrivStacks" is set to True, the BrivUserSetting "TargetStacks" should be ignored when determining how many stacks Briv needs. AutoCalculate uses TargetStacks - LeftoverStacks where "TargetStacks" are how many stacks are needed to go from area 1 to modron reset, and "LeftoverStacks" are how many stacks are expected to be unused when reaching the modron reset.
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.

1 participant