mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-20 06:58:55 +03:00
traits need to be updated with new "params" @RedFoxIV (cherry picked from commit d62392b2fe2c3e651ad1f8492bbceef6dad5138e)
16 lines
484 B
C#
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;
|
|
} |