using Content.Server.Emp; using Content.Server.Xenoarchaeology.Artifact.XAE.Components; using Content.Shared.Xenoarchaeology.Artifact; using Content.Shared.Xenoarchaeology.Artifact.XAE; namespace Content.Server.Xenoarchaeology.Artifact.XAE; /// /// System for xeno artifact effect that creates EMP on use. /// public sealed class XAEEmpInAreaSystem : BaseXAESystem { [Dependency] private readonly EmpSystem _emp = default!; /// protected override void OnActivated(Entity ent, ref XenoArtifactNodeActivatedEvent args) { _emp.EmpPulse(args.Coordinates, ent.Comp.Range, ent.Comp.EnergyConsumption, ent.Comp.DisableDuration); } }