using Content.Shared.Actions;
using Robust.Shared.Prototypes;
namespace Content.Shared.Magic.Events;
public sealed partial class ProjectileSpellEvent : WorldTargetActionEvent
{
///
/// What entity should be spawned.
///
[DataField(required: true)]
public EntProtoId Prototype;
///
/// How fast the projectile should travel
///
[DataField]
public float ProjectileSpeed = 25f;
///
/// A coefficient to adjust velocity by when shooting the opposite way you're moving.
///
///
/// Useful for slow projectiles to prevent them from feeling sluggish.
/// A value of 0.5 increases projectile speed by 50% if shot directly behind you.
///
[DataField]
public float RearVelocityCompensation;
}