-
-
Notifications
You must be signed in to change notification settings - Fork 642
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
Adds in Disemboweling, Piercing and Slashes. #6643
Conversation
UnityProject/Assets/Scripts/HealthV2/Living/BodyParts/BodyPartCustomBehaviours/BodyPart_Lung.cs
Outdated
Show resolved
Hide resolved
UnityProject/Assets/Scripts/HealthV2/Living/Damage/BodyPartDamage.cs
Outdated
Show resolved
Hide resolved
UnityProject/Assets/Scripts/HealthV2/Living/Damage/BodyPartDamage.cs
Outdated
Show resolved
Hide resolved
After some discussion on discord, I've added in some improvements and tweaks. In the next few PRs after this one and the bleeding one gets added in, I'll add in ways to heal internal damage and start fixing some issues related to customization floating on empty body parts and several other minor issues found on staging. |
When will this be ready to merge? |
After our last discussion on discord with Jack, Disemboweling might be held on hold for a while as I'm going be working on #6272 which will be put both these into a single system. |
From the code reviewers, it's been suggested to have a separate list that you add the body parts you want to remove, that you check after every time the player takes damage |
who suggested this and for what exactly? and I've already explained why during discussions on #6625 why adding separate lists for anything is terrible and I'll never do it unless it's the only way to go about it. for any reason. |
well the code review team as a whole, also it's the only way without changing index and getting flaky behaviour |
again, for what? |
Why is this throwing an error when everything compiles fine on my end? |
-Check the item traits in the item attributes of the Gauze prefab
-And then you need to open the network manager, press the manually fill list button and then commit the network manager |
Yep, fixed now. Hopefully. |
well fuck you Codacy |
oi oi oi, no don't bully codacy |
no, i will bully the codacy >:( |
what changes are still being awaited for this PR? |
UnityProject/Assets/Scripts/HealthV2/Living/BodyPartModification.cs
Outdated
Show resolved
Hide resolved
UnityProject/Assets/Scripts/HealthV2/Living/BodyParts/RootBodyPartContainer.cs
Outdated
Show resolved
Hide resolved
seppuku gaming |
Purpose
part of #6270 and #6272
Cuts, External Bleeding and disemboweling
Attacking your foes now causes them to receive grievous wounds that open their insides and damage their internal organs.
Your organs now have a very slim chance of escaping your body when it receives a big enough wound but they have a greater chance to receive internal damage which causes you to bleed from the inside out.
Lungs and hearts have custom Internal bleeding damage behaviors where bleeding lungs causes you to drown in your own blood from inside while hearts cause a heart attack.
There is no way to heal internal damage currently but it's going to be added later in another PR.
Some weapons are more likely to cause "Slash" and "Piecing" damage, with both of them contributing to how likely you're cuts are going to size.
Slash and Pierce cause external bleeding, with both of them having tier levels of damage that can be recovered on their own depending on their tier. Explained more in #6272 .
There is no way to currently heal Pierce and Slash damage but an item has been added to stop external bleeding, The Gauze.
Changelog:
CL: [New] - Players' organs can now have internal bleeding. Dying slowly from the inside.
CL: [New] - Lungs that are bleeding will cause players to cough up blood regularly.
CL: [New] - Hearts that suffer from internal damage can heart attack.
CL: [New] - Added Disemboweling.
CL: [New] - Adds in Slash and Piercing damage.
CL: [New] - Players can bleed to death now if they don't treat external bleeding.
CL: [New] - Added in the Gauze healing item, stops external bleeding.
CL: [New] - Slash and Pierce damage will go on their own as long as the player doesn't receive a higher damage of level of these new damages.
CL: [Improvement] - Gauzes now stop limb loss bleeding, disabled that logic on brute packs as they were place holders a few PRs ago.
CL: [Fix] - Losing a heart is an instant death from now on.
CL: [Fix] - Players no longer need a harm intention to heal themselves.
CL: [Fix] - clicking yourself with non-lethal object will no longer spawn blood on the ground. reported in #6586
CL: [Fix] - You can no longer roleplay as an Asian mother by doing extreme damage to limbs with just a shoe.