18 lines
544 B
C#
18 lines
544 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Damage.Components;
|
|
|
|
/// <summary>
|
|
/// This is used for a clothing item that modifies the slowdown from taking damage.
|
|
/// Used for entities with <see cref="SlowOnDamageComponent"/>
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SlowOnDamageSystem))]
|
|
public sealed partial class ClothingSlowOnDamageModifierComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// A coefficient modifier for the slowdown
|
|
/// </summary>
|
|
[DataField]
|
|
public float Modifier = 1;
|
|
}
|