Fix stun baton throwing and visual effect (#18777)
This commit is contained in:
@@ -1,19 +1,7 @@
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Shared.Damage.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Attempting to apply stamina damage on a melee hit to an entity.
|
||||
/// Attempting to apply stamina damage on entity.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public struct StaminaDamageOnHitAttemptEvent
|
||||
{
|
||||
public bool Cancelled;
|
||||
public SoundSpecifier? HitSoundOverride;
|
||||
|
||||
public StaminaDamageOnHitAttemptEvent(bool cancelled, SoundSpecifier? hitSoundOverride)
|
||||
{
|
||||
Cancelled = cancelled;
|
||||
HitSoundOverride = hitSoundOverride;
|
||||
}
|
||||
}
|
||||
public record struct StaminaDamageOnHitAttemptEvent(bool Cancelled);
|
||||
|
||||
Reference in New Issue
Block a user