2022-06-17 01:37:07 -04:00
|
|
|
namespace Content.Server.CombatMode.Disarm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Applies a malus to disarm attempts against this item.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class DisarmMalusComponent : Component
|
2022-06-17 01:37:07 -04:00
|
|
|
{
|
|
|
|
|
/// <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;
|
|
|
|
|
}
|
|
|
|
|
}
|