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

[Bug]: stamina damage is not limited to 100 #11322

Closed
Tsar-Salat opened this issue Aug 11, 2024 · 4 comments
Closed

[Bug]: stamina damage is not limited to 100 #11322

Tsar-Salat opened this issue Aug 11, 2024 · 4 comments

Comments

@Tsar-Salat
Copy link
Contributor

BYOND Version

No response

Round Date

No response

Round ID

No response

Test merges

No response

Describe the bug

Something I've noticed is that, when stamina damage is applied via any traditional method (batons, disablers, drugs), the value is no longer limited to 100, and can go way beyond that.

This sometimes even has the effect where the damage will get stuck at an arbitrary value above 100, which results in players getting stuck in the knocked-down state for longer than expected.

Most cases I've seen eventually resolve, but when VV'ing them, it clearly is not lowering naturally.

Likely from #10083

What did you expect?

I expected stamina damage to be capped at 100, and for it to decrease at a reasonable rate.

Reproducible steps

No response

@Tsar-Salat
Copy link
Contributor Author

Actually, I might be wrong here. Is it additively combining all the limb damages?

@PowerfulBacon
Copy link
Member

Stamina damage is fine to surpass 100, however once you enter stam crit a timer starts since your last attack which is about 3 or 4 seconds, and it resets every time yoy get attacked. Once that timer ends you will immediately heal out of stamina crit no matter your stamina damage so 120 and 180 stamina damage should recover in the same amount of time

@TsunamiAnt
Copy link
Contributor

maybe that isn't what's happening then? I saw a few people stuck at like 120 stamina for 10 or so minutes...

@Tsar-Salat
Copy link
Contributor Author

maybe that isn't what's happening then? I saw a few people stuck at like 120 stamina for 10 or so minutes...

See linked pr

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

3 participants