mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
22 lines
542 B
C#
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;
|
|
}
|