* MeleeThrowOnHit rework * buff baseball bat * better mjolnir * telebaton system unhardcode + refactor + transform TelescopicBatonComponent to KnockDownOnHitComponent * fix telebaton prototype * darova * fix KnockDownOnHitSystem * chaplain weapons rebalance * fix nullrod hit sound * BloodstreamSystem cleanup * bleeding rebalance * damage rebalance * small baseball bat fix
18 lines
492 B
C#
18 lines
492 B
C#
using Content.Shared.Standing.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._White.Item.KnockDownOnHit;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class KnockDownOnHitComponent : Component
|
|
{
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public TimeSpan KnockdownTime = TimeSpan.FromSeconds(1.5f);
|
|
|
|
[DataField]
|
|
public SharedStandingStateSystem.DropHeldItemsBehavior? KnockDownBehavior;
|
|
|
|
[DataField]
|
|
public bool RequireWield;
|
|
}
|