mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
* karpik :D
* much smart
* cqc-restrain-disarm
* beno grab
* grab locale
* instagrab trollface
* break grab more intuitive
* Revert "instagrab trollface"
This reverts commit 5509cb71b1.
* kravmaga and stuff
---------
Co-authored-by: vanx <discord@vanxxxx>
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
namespace Content.Shared.CombatMode
|
|
{
|
|
public sealed class DisarmedEvent : HandledEntityEventArgs
|
|
{
|
|
/// <summary>
|
|
/// The entity being disarmed.
|
|
/// </summary>
|
|
public EntityUid Target { get; init; }
|
|
|
|
/// <summary>
|
|
/// The entity performing the disarm.
|
|
/// </summary>
|
|
public EntityUid Source { get; init; }
|
|
|
|
/// <summary>
|
|
/// WWDP - Probability to disarm in addition to shoving.
|
|
/// </summary>
|
|
public float DisarmProbability { get; init; }
|
|
|
|
/// <summary>
|
|
/// WWDP - The entity that was in the active hand.
|
|
/// </summary>
|
|
public EntityUid DisarmObject { get; set; }
|
|
|
|
/// <summary>
|
|
/// WWDP - Should the entity go into the disarmer's hand instead of being dropped.
|
|
/// </summary>
|
|
public bool PickupToHands { get; set; }
|
|
|
|
/// <summary>
|
|
/// Potential stamina damage if this disarm results in a shove.
|
|
/// </summary>
|
|
public float StaminaDamage { get; init; }
|
|
}
|
|
}
|