Fix stun baton throwing and visual effect (#18777)

This commit is contained in:
Slava0135
2023-08-08 23:19:31 +03:00
committed by GitHub
parent 2714101ad7
commit 375f487d94
12 changed files with 117 additions and 75 deletions

View File

@@ -1,3 +1,5 @@
using Robust.Shared.Audio;
namespace Content.Shared.Damage.Components;
[RegisterComponent]
@@ -5,4 +7,7 @@ public sealed class StaminaDamageOnHitComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("damage")]
public float Damage = 30f;
[DataField("sound")]
public SoundSpecifier? Sound;
}