using Content.Shared.EntityEffects;
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Effects;
///
/// Applies a list of entity effects to the owning entity when triggered.
/// If TargetUser is true then they will be applied to the user instead.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class EntityEffectOnTriggerComponent : BaseXOnTriggerComponent
{
///
/// The effects to apply.
///
[DataField, AutoNetworkedField]
public EntityEffect[] Effects;
///
/// Optional scale multiplier for the effects.
///
[DataField, AutoNetworkedField]
public float Scale = 1f;
}