6
2025-11-12 10:55:00 +03:00

26 lines
707 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared._Horizon.DualWield;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class DualWieldComponent : Component
{
/// <summary>
/// EntityUid of the linked dual-wielded weapon
/// </summary>
[DataField]
public EntityUid? LinkedWeapon;
/// <summary>
/// Delay between firing main weapon and linked weapon in seconds
/// </summary>
[DataField, AutoNetworkedField]
public float FireDelay = 0.1f;
/// <summary>
/// Multiplier applied to weapon spread when dual-wielding
/// </summary>
[DataField, AutoNetworkedField]
public float SpreadMultiplier = 6f;
}