using System.Numerics; using Content.Shared.Actions; using Content.Shared.Storage; namespace Content.Shared.Magic.Events; // TODO: This class needs combining with InstantSpawnSpellEvent public sealed partial class WorldSpawnSpellEvent : WorldTargetActionEvent { /// /// The list of prototypes this spell will spawn /// [DataField] public List Prototypes = new(); // TODO: This offset is liable for deprecation. // TODO: Target tile via code instead? /// /// The offset the prototypes will spawn in on relative to the one prior. /// Set to 0,0 to have them spawn on the same tile. /// [DataField] public Vector2 Offset; /// /// Lifetime to set for the entities to self delete /// [DataField] public float? Lifetime; }