Status effects fix. Refresh the status effect cooldown. (#5708)
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Content.Server.Damage.Systems
|
||||
component.LastHit = _gameTiming.CurTime;
|
||||
|
||||
if (_robustRandom.Prob(component.StunChance))
|
||||
_stunSystem.TryStun(uid, TimeSpan.FromSeconds(component.StunSeconds));
|
||||
_stunSystem.TryStun(uid, TimeSpan.FromSeconds(component.StunSeconds), true);
|
||||
|
||||
var damageScale = (speed / component.MinimumSpeed) * component.Factor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user