Syringe changes. (#14441)

* Syringe changes

* Fix

* Fix

* Fix

* Trying to rerun the tests because idk how

* revert self heal nerf
This commit is contained in:
Whisper
2023-04-18 10:23:54 -04:00
committed by GitHub
parent 3ca51c4d73
commit 3b1d9c489f

View File

@@ -218,8 +218,8 @@ public sealed partial class ChemistrySystem
var actualDelay = MathF.Max(component.Delay, 1f);
// Injections take 1 second longer per additional 5u
actualDelay += (float) component.TransferAmount / component.Delay - 1;
// Injections take 0.5 seconds longer per additional 5u
actualDelay += (float) component.TransferAmount / component.Delay - 0.5f;
var isTarget = user != target;
@@ -233,7 +233,7 @@ public sealed partial class ChemistrySystem
// Check if the target is incapacitated or in combat mode and modify time accordingly.
if (_mobState.IsIncapacitated(target))
{
actualDelay /= 2;
actualDelay /= 2.5f;
}
else if (_combat.IsInCombatMode(target))
{