Add maximum to barotrauma damage (#4989)

This commit is contained in:
ShadowCommander
2021-10-23 11:45:57 -07:00
committed by GitHub
parent 5fb8960a3a
commit 6c1ba187e3
2 changed files with 14 additions and 1 deletions

View File

@@ -16,5 +16,9 @@ namespace Content.Server.Atmos.Components
[DataField("damage", required: true)]
[ViewVariables(VVAccess.ReadWrite)]
public DamageSpecifier Damage = default!;
[DataField("maxDamage")]
[ViewVariables(VVAccess.ReadWrite)]
public int MaxDamage = 200;
}
}