Skip to content

Fix: Anju rando item gives failing when performing an action#3107

Merged
leggettc18 merged 1 commit intoHarbourMasters:develop-sulufrom
Archez:fix-adult-anju-rando-gives
Aug 12, 2023
Merged

Fix: Anju rando item gives failing when performing an action#3107
leggettc18 merged 1 commit intoHarbourMasters:develop-sulufrom
Archez:fix-adult-anju-rando-gives

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

@briaguya0 briaguya0 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
@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