mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
16 lines
499 B
C#
16 lines
499 B
C#
namespace Content.Server.CombatMode.Disarm
|
|
{
|
|
/// <summary>
|
|
/// Applies a malus to disarm attempts against this item.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
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("malus")]
|
|
public float Malus = 0.3f;
|
|
}
|
|
}
|