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

Fix to puncturase bug cauterizing bleeds in the BloodstreamSystem.cs file, issue #31137 #31656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheWalnutKing
Copy link

About the PR

Changed where bleeding is modifying in BloodstreamSystem.cs. Added logic to gate certain modifications from occurring.

Why / Balance

Previously, the code modified the bleed amount with a total float from the modified damage. This caused a bug with puncturase where a negative amount of damage would heal the bleeding and cause the text for cauterization to appear (issue #31137). Now bleed amount is only changed in 2 scenarios in this script: Heat damage to cause cauterization, or normal damage to cause bleeding. The third case where healing directly heals bleeding works without any logic in the BloodstreamSystem.cs script.

Technical details

Added a function to look through damage dict damage types. Pick out heat damage. If heat damage is present (positive or negative after modifiers) then cauterization occurs. If the total damage is positive, bleed amount is modified as normal.

Media

Requirements

  • [x ] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
  • [x ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

@github-actions github-actions bot added the S: Needs Review Status: Requires additional reviews before being fully accepted label Aug 30, 2024
@TheWalnutKing
Copy link
Author

Puncturase-bug-fix.mp4

Sorry, just saw that my video didn't upload with the original PR. Hopefully this works.

Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Sep 11, 2024
@SlamBamActionman SlamBamActionman added the S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. label Nov 14, 2024
@eoineoineoin eoineoineoin added T: Bugfix Type: Bugs and/or bugfixes P3: Standard Priority: Default priority for repository items. T: Balance Change Type: Balance changes through direct value changes, or changes to mechanics that affect it DB: Beginner Friendly Difficulty: Great for beginners. Unambiguous in scope, and explains how to achieve the result. A: Combat Area: Combat features and changes, balancing, feel A: Medical Area: Medical department, including Chemistry and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Nov 20, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@ScarKy0
Copy link
Contributor

ScarKy0 commented Dec 8, 2024

Are you still working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Combat Area: Combat features and changes, balancing, feel A: Medical Area: Medical department, including Chemistry DB: Beginner Friendly Difficulty: Great for beginners. Unambiguous in scope, and explains how to achieve the result. Merge Conflict P3: Standard Priority: Default priority for repository items. S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted S: Needs Review Status: Requires additional reviews before being fully accepted T: Balance Change Type: Balance changes through direct value changes, or changes to mechanics that affect it T: Bugfix Type: Bugs and/or bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants