6
StarHorizon_Public/Content.Shared/CombatMode/DisarmMalusComponent.cs
2025-08-05 10:00:54 +03:00

18 lines
482 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.CombatMode;
/// <summary>
/// Applies a malus to disarm attempts against this item.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class DisarmMalusComponent : Component
{
/// <summary>
/// So, disarm chances are a % chance represented as a value between 0 and 1.
/// This default would be a 30% penalty to that.
/// </summary>
[DataField]
public float Malus = 0.3f;
}