using Content.Shared.Actions; using Content.Shared.Storage; namespace Content.Server.Magic.Events; public sealed class WorldSpawnSpellEvent : WorldTargetActionEvent { // TODO:This class needs combining with InstantSpawnSpellEvent /// /// The list of prototypes this spell will spawn /// [DataField("prototypes")] public List Contents = new(); // TODO: This offset is liable for deprecation. /// /// 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("offset")] public Vector2 Offset; /// /// Lifetime to set for the entities to self delete /// [DataField("lifetime")] public float? Lifetime; }