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

"Mortal wound" level for a player's cuts #118

Open
backwardsEric opened this issue Sep 23, 2024 · 0 comments
Open

"Mortal wound" level for a player's cuts #118

backwardsEric opened this issue Sep 23, 2024 · 0 comments

Comments

@backwardsEric
Copy link
Contributor

The "Mortal wound" status for a player's cuts is displayed if the player's cut meter is greater than 100 (see prt_cut() in xtra1.c). The player's cut meter is limited to be zero to 100, inclusive, in xtra2.c's set_cut(), so that "Mortal wound" status should never be displayed. Sil 1.3 has the same behavior.

Given that the player's cut meter is displayed with a "%-2d" format, it looks like the test for displaying the "Mortal wound" status in prt_cut() should be if the cut meter is greater than or equal to 100.

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

No branches or pull requests

1 participant