@@ -4,6 +4,7 @@ using Content.Shared.Inventory;
|
||||
using Content.Shared.StatusEffect;
|
||||
using Content.Shared.StepTrigger.Systems;
|
||||
using Content.Shared.Stunnable;
|
||||
using Content.Shared.White.Mood;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
@@ -78,6 +79,8 @@ public sealed class SlipperySystem : EntitySystem
|
||||
|
||||
_stun.TryParalyze(other, TimeSpan.FromSeconds(component.ParalyzeTime), true);
|
||||
|
||||
RaiseLocalEvent(other, new MoodEffectEvent("MobSlipped")); // WD edit
|
||||
|
||||
// Preventing from playing the slip sound when you are already knocked down.
|
||||
if (playSound)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user