20 lines
526 B
C#
20 lines
526 B
C#
using Content.Shared.Actions;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
public sealed partial class TeleportSpellEvent : WorldTargetActionEvent, ISpeakSpell
|
|
{
|
|
[DataField("blinkSound")]
|
|
public SoundSpecifier BlinkSound = new SoundPathSpecifier("/Audio/Magic/blink.ogg");
|
|
|
|
[DataField("speech")]
|
|
public string? Speech { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Volume control for the spell.
|
|
/// </summary>
|
|
[DataField("blinkVolume")]
|
|
public float BlinkVolume = 5f;
|
|
}
|