Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Content.Server/ADT/Implants/VisibleImplantSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private void OnEmpPulse(Entity<MantisDaggersComponent> ent, ref EmpPulseEvent ar
}
_appearance.SetData(uid, MantisDaggersVisuals.Active, false);
_appearance.SetData(uid, MantisDaggersVisuals.Inactive, true);
_jittering.DoJitter(uid, TimeSpan.FromSeconds(15f), true);
_jittering.DoJitter(uid, TimeSpan.FromSeconds(10f), true);
Spawn("EffectSparks", Transform(uid).Coordinates);
ent.Comp.Active = false;
_audio.PlayEntity(ent.Comp.Sound, Filter.Pvs(uid), uid, true);
Expand Down
15 changes: 9 additions & 6 deletions Content.Server/ADT/Sandevistan/SandevistanSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,14 @@ private void OnEmpPulse(Entity<SandevistanUserComponent> ent, ref EmpPulseEvent
ent.Comp.EmpLastPulse = _timing.CurTime;
var uid = ent.Owner;

ent.Comp.CurrentLoad += ent.Comp.EmpOverload;
_damageable.TryChangeDamage(uid, ent.Comp.EmpDamage, ignoreResistances: true);
_jittering.DoJitter(uid, TimeSpan.FromSeconds(30f), true);
_stun.TryAddParalyzeDuration(uid, TimeSpan.FromSeconds(5f));
Spawn("EffectSparks", Transform(uid).Coordinates);
Disable(ent, ent.Comp);
if (ent.Comp.Active != null)
{
ent.Comp.CurrentLoad += ent.Comp.EmpOverload;
_damageable.TryChangeDamage(uid, ent.Comp.EmpDamage, ignoreResistances: true);
_jittering.DoJitter(uid, TimeSpan.FromSeconds(30f), true);
_stun.TryAddParalyzeDuration(uid, TimeSpan.FromSeconds(6f));
Spawn("EffectSparks", Transform(uid).Coordinates);
Disable(ent, ent.Comp);
}
}
}
2 changes: 1 addition & 1 deletion Content.Server/ADT/Sandevistan/SandevistanUserComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public sealed partial class SandevistanUserComponent : Component
{
DamageDict = new Dictionary<string, FixedPoint2>
{
{ "Shock", 30 },
{ "Shock", 40 },
},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public sealed partial class MantisDaggersComponent : Component
public TimeSpan EmpLastPulse = TimeSpan.Zero;

[ViewVariables(VVAccess.ReadOnly)]
public TimeSpan EmpCooldown = TimeSpan.FromSeconds(15f);
public TimeSpan EmpCooldown = TimeSpan.FromSeconds(10f);

[DataField]
public DamageSpecifier EmpDamage = new()
Expand Down
Loading