Tiny shove fix. (#25353)
* Remove second shove check. * Change when popups and sounds are created. Reduces phantom shoves that feel bad. * why didn't i think of this i saw it earlier... * Replaced Is fields with prefix * remove some dependencies to fix tests???
This commit is contained in:
@@ -16,5 +16,16 @@ namespace Content.Shared.CombatMode
|
||||
/// Probability for push/knockdown.
|
||||
/// </summary>
|
||||
public float PushProbability { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Prefix for the popup message that will be displayed on a successful push.
|
||||
/// Should be set before returning.
|
||||
/// </summary>
|
||||
public string PopupPrefix { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Whether the entity was successfully stunned from a shove.
|
||||
/// </summary>
|
||||
public bool IsStunned { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user