diff --git a/Content.Server/Revenant/EntitySystems/RevenantSystem.Abilities.cs b/Content.Server/Revenant/EntitySystems/RevenantSystem.Abilities.cs index a30b47304ae1ba..a00ecacab48874 100644 --- a/Content.Server/Revenant/EntitySystems/RevenantSystem.Abilities.cs +++ b/Content.Server/Revenant/EntitySystems/RevenantSystem.Abilities.cs @@ -35,10 +35,7 @@ using Robust.Shared.Player; using Content.Shared.StatusEffect; using Content.Shared.Flash.Components; -using Content.Shared.Flash; using Robust.Shared.Audio.Systems; -using Content.Shared.Mind; -using Content.Shared.Mind.Components; namespace Content.Server.Revenant.EntitySystems; @@ -55,12 +52,14 @@ public sealed partial class RevenantSystem [Dependency] private readonly SharedTransformSystem _transformSystem = default!; [Dependency] private readonly SharedHandsSystem _handsSystem = default!; [Dependency] private readonly RevenantAnimatedSystem _revenantAnimated = default!; - [Dependency] private readonly EntityLookupSystem _entityLookup = default!; [Dependency] private readonly SharedAudioSystem _audioSystem = default!; [ValidatePrototypeId] private const string RevenantEssenceRegen = "EssenceRegen"; + [ValidatePrototypeId] + private const string FlashedId = "Flashed"; + private void InitializeAbilities() { SubscribeLocalEvent(OnInteract); @@ -265,7 +264,7 @@ private void OnHauntAction(EntityUid uid, RevenantComponent comp, RevenantHauntA foreach (var witness in witnesses) { _statusEffects.TryAddStatusEffect(GetEntity(witness), - SharedFlashSystem.FlashedKey, + FlashedId, comp.HauntFlashDuration, false );