Revert "Revert "Emp more effects" (#16159)" (#16165)

This reverts commit 0da5a78509.
This commit is contained in:
metalgearsloth
2023-05-07 01:26:04 +10:00
committed by GitHub
parent de1613f7ef
commit f7950d07e2
18 changed files with 245 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ public sealed class ElectricityAnomalySystem : EntitySystem
}
var empRange = component.MaxElectrocuteRange * 3;
_emp.EmpPulse(Transform(uid).MapPosition, empRange, component.EmpEnergyConsumption);
_emp.EmpPulse(Transform(uid).MapPosition, empRange, component.EmpEnergyConsumption, component.EmpDisabledDuration);
}
public override void Update(float frameTime)