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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user