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: Anju rando item gives failing when performing an action #3107

Merged

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Aug 7, 2023

A previous fix to Anju for adult rando item gives (#1766) introduced a bug where the GiveItem calls were only executed once, which meant if the player performed any action that blocks an GiveItem for the frame (shielding, pulling out any items, etc), the item would not be given on the next frame as the code path for Anju has finished.

This PR restores the desired code paths, matching what the vanilla item gives do, while maintaining that the correct flags are set in rando.

There were todo statements that weren't clear why they were there, so I removed them as the item gives now match the same behavior as the rest of the code base in my opinion.

Build Artifacts

Copy link
Contributor

@briaguya-ai briaguya-ai left a comment

Choose a reason for hiding this comment

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

:shipit:

@garrettjoecox
Copy link
Contributor

Same here, criteria is now met

@leggettc18 leggettc18 merged commit b2e9d54 into HarbourMasters:develop-sulu Aug 12, 2023
8 checks passed
@Archez Archez deleted the fix-adult-anju-rando-gives branch August 12, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants