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>
This commit is contained in:
@@ -18,6 +18,9 @@ public record HealthMultipliers
|
||||
{
|
||||
[JsonPropertyName("blacked")]
|
||||
public double Blacked { get; set; }
|
||||
|
||||
[JsonPropertyName("death")]
|
||||
public double Death { get; set; }
|
||||
}
|
||||
|
||||
public record HealthSave
|
||||
|
||||
Reference in New Issue
Block a user