Files
wwdpublic/Content.Shared/Traits/Assorted/Components/CritModifierComponent.cs
sleepyyapril 3330acd9f2 Revert ""Proper" "Softcrit" "Support" (#1545)" (#1741)
traits need to be updated with new "params"

@RedFoxIV

(cherry picked from commit d62392b2fe2c3e651ad1f8492bbceef6dad5138e)
2025-02-15 00:15:22 +03:00

16 lines
484 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Traits.Assorted.Components;
/// <summary>
/// This is used for any trait that modifies CritThreshold
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class CritModifierComponent : Component
{
/// <summary>
/// The amount that an entity's critical threshold will be incremented by.
/// </summary>
[DataField]
public int CritThresholdModifier { get; private set; } = 0;
}