Give kammerer tighter spread so it's not a complete downgrade to the enforcer (#37616)

This commit is contained in:
SpeltIncorrectyl
2025-05-19 23:45:18 +01:00
committed by GitHub
parent a932cc358f
commit 97e6127cf0
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Weapons.Ranged.Components;
/// <summary>
/// This component modifies the spread of the gun it is attached to.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class GunSpreadModifierComponent: Component
{
/// <summary>
/// A scalar value multiplied by the spread built into the ammo itself.
/// </summary>
[DataField, AutoNetworkedField]
public float Spread = 1;
}