* Hitscans are now entities * Cleanup * Cleanup * Silly mistakes but stop sign testing helps :) * Address most of the review * Reviews * perry :( * Final reviews * Add comments * Split event up * better comment * cleanup
17 lines
492 B
C#
17 lines
492 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Weapons.Hitscan.Components;
|
|
|
|
/// <summary>
|
|
/// Hitscan entities that have this component will deal stamina damage to the target.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class HitscanStaminaDamageComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How much stamania damage the hitscan weapon will do when hitting a target.
|
|
/// </summary>
|
|
[DataField]
|
|
public float StaminaDamage = 10.0f;
|
|
}
|