Files
wwdpublic/Content.Shared/CombatMode/DisarmedEvent.cs
vanx 1d6d86244f [Fix] CQC Combos (#595)
* 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>
2025-06-19 20:04:01 +03:00

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; }
}
}