using Content.Shared.Damage; namespace Content.Server._Horizon.PressureDamageModify; [RegisterComponent] public sealed partial class PressureDamageModifyComponent : Component { /// /// only for projectiles, doesn`t work for melee damage /// [ViewVariables(VVAccess.ReadWrite), DataField("projDamage")] public float ProjDamage = 0.2f; /// /// KPd, below which damage will diminishes. 0 kPa = 1 kPa /// [ViewVariables(VVAccess.ReadWrite), DataField("needsPressure")] public float Pressure = 40f; /// /// only for melee, doesn`t work for projectiles /// [DataField("additionalDamage")] public DamageSpecifier? AdditionalDamage = null; }