Files
Delta-v/Content.Shared/Damage/Events/RefreshStaminaCritThresholdEvent.cs
T
SlamBamActionmanandPrincess Cheeseballs d514f400a4 Make StaminaModifier into a status effect, apply to Hyperzine (#41902)
* Initial commit

* Probably better this way.

* Review fixes

* cleanup

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2026-04-04 16:57:19 +02:00

19 lines
466 B
C#

using Content.Shared.Damage.Components;
namespace Content.Shared.Damage.Events;
/// <summary>
/// Raised whenever the <see cref="StaminaComponent.CritThreshold"/> needs to be refreshed.
/// </summary>
[ByRefEvent]
public record struct RefreshStaminaCritThresholdEvent
{
public float ThresholdValue = 100f;
public float Modifier = 1f;
public RefreshStaminaCritThresholdEvent(float thresholdValue)
{
ThresholdValue = thresholdValue;
}
}