Stamina damage (#9230)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Content.Server.Stunnable.Systems;
|
||||
using Content.Shared.Sound;
|
||||
using Content.Shared.Timing;
|
||||
|
||||
@@ -8,21 +9,6 @@ namespace Content.Server.Stunnable.Components
|
||||
{
|
||||
public bool Activated = false;
|
||||
|
||||
/// <summary>
|
||||
/// What the <see cref="UseDelayComponent"/> is when the stun baton is active.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("activeCooldown")]
|
||||
public TimeSpan ActiveDelay = TimeSpan.FromSeconds(4);
|
||||
|
||||
/// <summary>
|
||||
/// Store what the <see cref="UseDelayComponent"/> was before being activated.
|
||||
/// </summary>
|
||||
public TimeSpan? OldDelay;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("paralyzeTime")]
|
||||
public float ParalyzeTime { get; set; } = 5f;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("energyPerUse")]
|
||||
public float EnergyPerUse { get; set; } = 350;
|
||||
|
||||
Reference in New Issue
Block a user