using Content.Shared.Actions; using Content.Shared.Sound; namespace Content.Server.Magic.Events; public sealed class KnockSpellEvent : InstantActionEvent { /// /// The range this spell opens doors in /// 4f is the default /// [DataField("range")] public float Range = 4f; [DataField("knockSound")] public SoundSpecifier KnockSound = new SoundPathSpecifier("/Audio/Magic/knock.ogg"); /// /// Volume control for the spell. /// -6f is default because the base soundfile is really loud /// [DataField("knockVolume")] public float KnockVolume = -6f; }