ChargeSpellEvent.cs 407 B

123456789101112131415161718
  1. using Content.Shared.Actions;
  2. namespace Content.Shared.Magic.Events;
  3. /// <summary>
  4. /// Adds provided Charge to the held wand
  5. /// </summary>
  6. public sealed partial class ChargeSpellEvent : InstantActionEvent, ISpeakSpell
  7. {
  8. [DataField(required: true)]
  9. public int Charge;
  10. [DataField]
  11. public string WandTag = "WizardWand";
  12. [DataField]
  13. public string? Speech { get; private set; }
  14. }