mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-15 03:31:38 +01:00
* Initial commit * Probably better this way. * Review fixes * cleanup --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
19 lines
466 B
C#
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;
|
|
}
|
|
}
|