Small strange jackboots buff (#30586)

* Small strange jackboots buff

* Update ClothingSlowOnDamageModifierComponent.cs
This commit is contained in:
Nemanja
2024-08-22 10:56:46 -04:00
committed by GitHub
parent 7e57b0dd71
commit 5c21b4e174
6 changed files with 65 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
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;
}