Skip to content

Breathing - Fix 1% chance of Tamponade occuring even when the Tamponade Chance is set to 0%#822

Merged
MiszczuZPolski merged 1 commit into
KAT-Advanced-Medical:dev-Tomcatfrom
superjes1:patch-1
Jun 17, 2026
Merged

Breathing - Fix 1% chance of Tamponade occuring even when the Tamponade Chance is set to 0%#822
MiszczuZPolski merged 1 commit into
KAT-Advanced-Medical:dev-Tomcatfrom
superjes1:patch-1

Conversation

@superjes1

Copy link
Copy Markdown
Contributor

Stops the 1% chance of Tamponade occuring even when the Tamponade Chance is set to 0%.

Tamponade can currently occur whenever floor (random 100) generates a 0, as the check is ">" instead of ">="

Stops the 1% chance of Tamponade occuring even when the Tamponade Chance is set to 0%.

Tamponade can occur whenever `floor (random 100)` generated 0, as "0 > 0" is false.
@AtrixZockt AtrixZockt added this to the 3.1.4 milestone May 13, 2026
@AtrixZockt AtrixZockt added the kind/bug-fix Release Notes: **FIXED:** label May 13, 2026
@MiszczuZPolski MiszczuZPolski merged commit 914cb97 into KAT-Advanced-Medical:dev-Tomcat Jun 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug-fix Release Notes: **FIXED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants