namespace Content.Server.Stunnable.Components
{
///
/// Adds stun when it collides with an entity
///
[RegisterComponent, Access(typeof(StunOnCollideSystem))]
public sealed partial class StunOnCollideComponent : Component
{
// TODO: Can probably predict this.
// See stunsystem for what these do
[DataField("stunAmount")]
public int StunAmount;
[DataField("knockdownAmount")]
public int KnockdownAmount;
[DataField("slowdownAmount")]
public int SlowdownAmount;
[DataField("walkSpeedMultiplier")]
public float WalkSpeedMultiplier = 1f;
[DataField("runSpeedMultiplier")]
public float RunSpeedMultiplier = 1f;
///
/// Fixture we track for the collision.
///
[DataField("fixture")] public string FixtureID = "projectile";
}
}