Space cleaner buffs (#15779)

This commit is contained in:
metalgearsloth
2023-05-02 00:25:33 +10:00
committed by GitHub
parent deeac44356
commit 9aae4f2ec8
11 changed files with 154 additions and 87 deletions

View File

@@ -63,7 +63,7 @@ namespace Content.Server.Chemistry.EntitySystems
_physics.SetLinearDamping(physics, 0f);
_physics.SetAngularDamping(physics, 0f);
_throwing.TryThrow(vapor.Owner, dir * speed, speed, user: user, pushbackRatio: 50f);
_throwing.TryThrow(vapor.Owner, dir, speed, user: user, pushbackRatio: 50f);
var distance = (target.Position - vaporXform.WorldPosition).Length;
var time = (distance / physics.LinearVelocity.Length);