using Content.Shared.Throwing; namespace Content.Shared._CP14.MagicSpell.Spells; public sealed partial class CP14SpellThrowUserTo : CP14SpellEffect { [DataField] public float ThrowPower = 10f; public override void Effect(EntityManager entManager, CP14SpellEffectBaseArgs args) { if (args.Position is null || args.User is null) return; var throwing = entManager.System(); throwing.TryThrow(args.User.Value, args.Position.Value, ThrowPower); } }