Commit Graph

18 Commits

Author SHA1 Message Date
Chomp 421ab55c23 Post raid effect fixes:
When exiting raid with severe muscle pain, prevent client instructing server to add mild muscle pain
When exiting a raid with effect that has a timer, decrease timer value by amount of time spent in raid
2025-10-31 16:29:55 +00:00
DrakiaXYZ d375879a3a Fix post-raid health (#661)
* Fix post-raid health
- Re-add death penalty for limbs
- Correctly set body part HP to 1 for cursed death only
- Use the server profile body part max HP for calculating penalties
- Never modify the body part max HP on the profile
- Remove ResetMaxLimbHp as it's unnecessary if we never update max HP elsewhere

* Formatting

* Remove unnecessary null coalescing

* Stupid formatting

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-10-26 08:47:40 +00:00
Chomp 353b8f54bb Added functionality to reduce non-damaged limb hp to 20% on pmc death when player is 'cursed' #640 2025-10-20 11:06:29 +01:00
Cj 021e5f8239 Log errors before throwing exceptions 2025-08-12 15:49:26 -04:00
Cj e54dcbd4d1 Fix more warnings... (#543)
* Fix more warnings...

* Fix mistake
2025-08-12 15:28:54 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Cj 3817d6cca4 Helpers Mongoid conversion + cleanup (#458)
* Start converting helper method ids to mongoids and remove underscore from injections...

* Finish helper mongoIds
2025-07-06 17:31:59 +01:00
Chomp cb559fdf5c Reduced complexity of post-raid health transfer
Likely fixed issue with effects not transferring over correctly out of raid
2025-06-29 15:48:23 +01:00
Chomp b4024527df Cleaned up a lot of health-related code formatting to be more readable in prep for fixing effect transference issues 2025-06-29 14:54:09 +01:00
Chomp 667995be37 Converted StoreHydrationEnergyTempInProfile into extension method 2025-06-28 09:06:16 +01:00
Chomp 65d8d7432d Converted DefaultVitality into extension method 2025-06-28 09:00:23 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 4e89fbbfd8 Fixed typos and improved code readability 2025-06-14 12:42:19 +01:00
Chomp 4eac8d90fb Fixed limb effect not being nulled correctly inside TransferPostRaidLimbEffectsToProfile 2025-06-08 10:06:51 +01:00
Chomp fb31786ee2 Updated profile templates to be a dictionary, cleaned up all uses of it throughout code
Added `profileHelper.GetProfileTemplateForSide`
2025-06-07 12:17:28 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00