6
StarHorizon_Public/Content.Shared/Damage/Events/BeforeStaminaDamageEvent.cs
2025-08-13 15:03:01 +03:00

13 lines
385 B
C#

using Content.Shared.Inventory;
namespace Content.Shared.Damage.Events;
/// <summary>
/// Raised before stamina damage is dealt to allow other systems to cancel or modify it.
/// </summary>
[ByRefEvent]
public record struct BeforeStaminaDamageEvent(float Value, bool Cancelled = false) : IInventoryRelayEvent
{
SlotFlags IInventoryRelayEvent.TargetSlots => ~SlotFlags.POCKET;
}