Files
crystall-punk-14/Content.Server/Magic/Events/TeleportSpellEvent.cs

20 lines
505 B
C#
Raw Normal View History

using Content.Shared.Actions;
2022-07-29 14:13:12 +12:00
using Robust.Shared.Audio;
namespace Content.Server.Magic.Events;
public sealed class TeleportSpellEvent : WorldTargetActionEvent, ISpeakSpell
{
[DataField("blinkSound")]
public SoundSpecifier BlinkSound = new SoundPathSpecifier("/Audio/Magic/blink.ogg");
[DataField("speech")]
public string? Speech { get; }
/// <summary>
/// Volume control for the spell.
/// </summary>
[DataField("blinkVolume")]
public float BlinkVolume = 5f;
}