Files
wwdpublic/Content.Shared/Magic/Events/KnockSpellEvent.cs
Spatison 2a10c02eb5 No spead merge (#475)
* Revert "[GoobPort] WIZ REAL (#465)"

This reverts commit 091a8ff433.

* fix local
2025-04-26 10:50:32 +03:00

22 lines
542 B
C#

using Content.Shared.Actions;
using Content.Shared.Chat;
namespace Content.Shared.Magic.Events;
public sealed partial class KnockSpellEvent : InstantActionEvent, ISpeakSpell
{
/// <summary>
/// The range this spell opens doors in
/// 10f is the default
/// Should be able to open all doors/lockers in visible sight
/// </summary>
[DataField]
public float Range = 10f;
[DataField]
public string? Speech { get; private set; }
public InGameICChatType ChatType { get; } = InGameICChatType.Speak;
}