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

Manualplay fixes #361

Merged
merged 3 commits into from
Feb 3, 2023
Merged

Conversation

icommitdesnet
Copy link
Contributor

two minor fixes for manual play

icommitdesnet and others added 3 commits February 1, 2023 22:43
quality set was overwritten, when uniqe and set of same class
occured when set item dropped that had unique of same classid
- ActionHooks changes:
  - Changed order of ActionHokks.event switch case to check the key toggles first
  - Changed blockKeyEventFlags array into blockKeyEvent function and removed the duplicate calls with the re-ordered case structure
  - Changed the getHook check for the settings menu to just use TextHooks.displaySettings rather than boolean casting a possible failed get
  - wrapped event in try - catch - finally as we are playing manual and a failed event shouldn't kill mapthread, we are present so just log the error for our info. Also finally ensures that action is always reset to null

- GemHunter fixes
  - Removed Town.storeGem from Town.doChores. We shouldn't always carry gems it takes invo space
  - Changed canStashGem to return true if we aren't currently running the GemHunter script, again to make sure we don't fill our invo with gems
  - Changed storeGem to getGem for a clearer meaning, and only have it run if we are in the GemHunter script currently. Likely to change that behavior later as it makes sense that if we come across a gem shrine during travels to go get our best gem from the stash first
  - Fixed how pickit handles keeping gems, We now only keep them for GemHunter, and we only keep 1 of each type wanted. Also changed the result to be accurate rather than use cubing result
@theBGuy theBGuy merged commit 5321218 into blizzhackers:master Feb 3, 2023
@theBGuy theBGuy mentioned this pull request Feb 3, 2023
@icommitdesnet icommitdesnet deleted the manualplay_fixes branch February 5, 2023 14:49
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