mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
19 lines
462 B
C#
19 lines
462 B
C#
using Content.Shared.Actions;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
public sealed partial class ProjectileSpellEvent : WorldTargetActionEvent
|
|
{
|
|
/// <summary>
|
|
/// What entity should be spawned.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntProtoId Prototype;
|
|
|
|
/// <summary>
|
|
/// How fast the projectile should travel
|
|
/// </summary>
|
|
[DataField]
|
|
public float ProjectileSpeed = 25f;
|
|
}
|