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: More swordless fixes when time traveling #3510

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Dec 11, 2023

Stick on B was occurring in MS shuffle when traveling as child -> adult for the second+ time while having a Kokiri sword equipped as child. The root cause is the swordless flag is unset for child and carries over to adult, causing stick on B. This PR adds a check for adult not having a sword equiped and to set the swordless flag again as adult.

Conversely, in this same situation, when switching back to child (swordless adult, to kokiri sword as child), the swordless flag was left on. This doesn't have any immediate impact from what I can see, but for correctness sake, this PR also adds a similar check to explicit remove the swordless flag as child.


This func is getting quite messy between regular rando, the change age cheats/enhancements, and now MS shuffle. Will most likely add this func to my list of things that can be cleaned up in develop.

Build Artifacts

@LuigiXHero
Copy link
Contributor

Maybe you can just put all the swordless fixes behind a new cvar and just set it when needed and include it in the fixes tab.

@briaguya-ai briaguya-ai merged commit 907b770 into HarbourMasters:develop-macready Dec 17, 2023
8 checks passed
@Archez Archez deleted the fix-more-swordless-flag-age-change branch December 17, 2023 05:53
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.

3 participants