Crawling Part 1: The Knockdownening (#36881)
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Co-authored-by: ScarKy0 <scarky0@onet.eu>
This commit is contained in:
committed by
GitHub
parent
cfb0a95035
commit
dec2d42a1d
@@ -1,6 +1,7 @@
|
||||
using System.Numerics;
|
||||
using Content.Shared.Alert;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
@@ -38,7 +39,7 @@ public sealed partial class StaminaComponent : Component
|
||||
public float StaminaDamage;
|
||||
|
||||
/// <summary>
|
||||
/// How much stamina damage is required to entire stam crit.
|
||||
/// How much stamina damage is required to enter stam crit.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
|
||||
public float CritThreshold = 100f;
|
||||
@@ -71,6 +72,18 @@ public sealed partial class StaminaComponent : Component
|
||||
[DataField, AutoNetworkedField]
|
||||
public float AfterCritDecayMultiplier = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// This is how much stamina damage a mob takes when it forces itself to stand up before modifiers
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public float ForceStandStamina = 10f;
|
||||
|
||||
/// <summary>
|
||||
/// What sound should play when we successfully stand up
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public SoundSpecifier ForceStandSuccessSound = new SoundPathSpecifier("/Audio/Effects/thudswoosh.ogg");
|
||||
|
||||
/// <summary>
|
||||
/// Thresholds that determine an entity's slowdown as a function of stamina damage.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user