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

[Core] Fix precombat order of operations #9781

Merged
merged 8 commits into from
Dec 16, 2024

Conversation

nyterage
Copy link
Contributor

@nyterage nyterage commented Dec 6, 2024

Fixes the order of event issues present due to the Singing Citrine effects. In order to accomplish this, i've removed the APL action accessibility for Flask, Food and Augmentation actions and instead trigger them early in player_t::arise(). This is a requirement due to the APL actions being called after precombat_callbacks that are often utilized to apply effects that will utilize the players current state on combat entry, which will include flask, food, and augment rune effects.

May also change the results with effects like Ovinax's Mercurial Egg, if the stat provided by flask or food changes the highest secondary stat, as before this wouldn't be updated until the first tick.

Fixes the order of event issues present due to the Singing Citrine effects. In order to accomplish this, i've removed the APL action accessibility for Flask, Food and Augmentation actions and instead trigger them early in `player_t::arise()`. This is a requirement due to the APL actions being called after precombat_callbacks that are often utilized to apply effects that will utilize the players current state on combat entry, which will include flask, food, and augment rune effects.

May also change the results with effects like Ovinax's Mercurial Egg, if the stat provided by flask or food changes the highest secondary stat, as before this wouldn't be updated until the first tick.
@nyterage nyterage requested review from gastank and Saeldur December 6, 2024 11:52
@nyterage nyterage merged commit 93f2938 into thewarwithin Dec 16, 2024
154 checks passed
@nyterage nyterage deleted the singing_citrine_ordering_fixes branch December 16, 2024 11:50
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