KnockSpellEvent.cs 441 B

1234567891011121314151617
  1. using Content.Shared.Actions;
  2. namespace Content.Shared.Magic.Events;
  3. public sealed partial class KnockSpellEvent : InstantActionEvent, ISpeakSpell
  4. {
  5. /// <summary>
  6. /// The range this spell opens doors in
  7. /// 10f is the default
  8. /// Should be able to open all doors/lockers in visible sight
  9. /// </summary>
  10. [DataField]
  11. public float Range = 10f;
  12. [DataField]
  13. public string? Speech { get; private set; }
  14. }