* - fix: Defib emag.

* - fix: No instant subfloor prying.

* - fix: Wizard shield interact on use.

* - fix: Uno gift ignore.

* - fix: Fix projectors despawning.

* - fix: Actual wizard dome fix.

* - fix: Rev lightning.
This commit is contained in:
Aviu00
2024-08-07 10:32:34 +00:00
committed by GitHub
parent a22cf3d50b
commit b7cc49896c
9 changed files with 28 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
using Content.Server.Beam;
using Content.Server.Lightning;
using Content.Shared.Revenant.Components;
using Content.Shared.Revenant.EntitySystems;
@@ -9,7 +9,7 @@ namespace Content.Server.Revenant.EntitySystems;
/// </summary>
public sealed class RevenantOverloadedLightsSystem : SharedRevenantOverloadedLightsSystem
{
[Dependency] private readonly BeamSystem _beam = default!;
[Dependency] private readonly LightningSystem _lightning = default!; // WD EDIT
protected override void OnZap(Entity<RevenantOverloadedLightsComponent> lights)
{
@@ -25,6 +25,6 @@ public sealed class RevenantOverloadedLightsSystem : SharedRevenantOverloadedLig
if (distance > component.ZapRange)
return;
_beam.TryCreateBeam(lights, component.Target.Value, component.ZapBeamEntityId);
_lightning.ShootLightning(lights, component.Target.Value, component.ZapBeamEntityId, false); // WD EDIT
}
}