using Content.Shared.Damage; using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared._DV.Psionics.Components; [RegisterComponent, NetworkedComponent] public sealed partial class AntiPsionicWeaponComponent : Component { /// /// The DamageModifiers for each DamageType. /// [DataField(required: true)] public DamageModifierSet Modifiers = default!; /// /// The additional stamina damage dealt by anti-psionic weaponry. /// [DataField] public float StaminaDamageMultiplier = 1f; /// /// The chance to disable the target's psionic abilities on hit. /// [DataField] public float DisableChance = 0.3f; /// /// Punish the user when used against a non-psionic target. /// [DataField] public bool Punish; /// /// The chance for the weapon to punish the user when used against a non-psionic target. /// [DataField] public float PunishChance = 0.5f; /// /// The sound created when hitting a psionic user with the weapon or being punished. /// [DataField] public SoundSpecifier? HitSound = new SoundPathSpecifier("/Audio/Effects/lightburn.ogg"); }