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

player-calcs: use updated flags rather than flags from prior state #407

Merged

Conversation

backwardsEric
Copy link
Contributor

Resolves #406 .

backwardsEric added a commit to backwardsEric/angband that referenced this pull request Jan 18, 2024
Ported from NickMcConnell/FAangband#407 .  There should be no observable change to what the player experiences (all the tested flags are tied to the player's class, calc_bonuses() is called at least twice after starting/loading a game before the player can act, and for the affected calculations there's no hysteresis with the old versions of the calculations if they happen to use potentially stale versions of the flags).
@NickMcConnell
Copy link
Owner

Thank you

@NickMcConnell NickMcConnell merged commit 31e1d22 into NickMcConnell:main Jan 18, 2024
18 checks passed
NickMcConnell pushed a commit to angband/angband that referenced this pull request Jan 18, 2024
Ported from NickMcConnell/FAangband#407 .  There should be no observable change to what the player experiences (all the tested flags are tied to the player's class, calc_bonuses() is called at least twice after starting/loading a game before the player can act, and for the affected calculations there's no hysteresis with the old versions of the calculations if they happen to use potentially stale versions of the flags).
@backwardsEric backwardsEric deleted the player-calcs-updated-flags branch January 18, 2024 22:26
agoodman00 pushed a commit to agoodman00/angband that referenced this pull request Jan 19, 2024
Ported from NickMcConnell/FAangband#407 .  There should be no observable change to what the player experiences (all the tested flags are tied to the player's class, calc_bonuses() is called at least twice after starting/loading a game before the player can act, and for the affected calculations there's no hysteresis with the old versions of the calculations if they happen to use potentially stale versions of the flags).
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.

Saving and reloading loses hitpoints
2 participants