using Content.Shared._Stalker.Throwing; using Content.Shared._Stalker.Weight; namespace Content.Server._Stalker.Weight; public sealed partial class STWeightSystem { private void InitializeThrowing() { SubscribeLocalEvent(OnBeforeThrow); } private void OnBeforeThrow(Entity entity, ref STBeforeThrowedEvent args) { var modifier = Math.Max(entity.Comp.WeightThrowMinStrengthModifier, entity.Comp.Total * entity.Comp.WeightThrowModifier); args.Strength /= modifier; } }