Fix pressure damage calculations (#26217)

This commit is contained in:
Kevin Zheng
2024-03-17 21:16:31 -08:00
committed by GitHub
3 changed files with 57 additions and 61 deletions

View File

@@ -276,7 +276,7 @@ namespace Content.Shared.Atmos
public const float HazardLowPressure = 20f;
/// <summary>
/// The amount of pressure damage someone takes is equal to (pressure / HAZARD_HIGH_PRESSURE)*PRESSURE_DAMAGE_COEFFICIENT,
/// The amount of pressure damage someone takes is equal to ((pressure / HAZARD_HIGH_PRESSURE) - 1)*PRESSURE_DAMAGE_COEFFICIENT,
/// with the maximum of MaxHighPressureDamage.
/// </summary>
public const float PressureDamageCoefficient = 4;