unhardcode the stun time (#19396)
This commit is contained in:
@@ -39,6 +39,12 @@ public sealed class StaminaComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("critThreshold")]
|
||||
public float CritThreshold = 100f;
|
||||
|
||||
/// <summary>
|
||||
/// How long will this mob be stunned for?
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("stunTime")]
|
||||
public TimeSpan StunTime = TimeSpan.FromSeconds(6);
|
||||
|
||||
/// <summary>
|
||||
/// To avoid continuously updating our data we track the last time we updated so we can extrapolate our current stamina.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user