mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Unapologetic Diona Buffs (#4502)
* Unapologetic Diona Buffs * Corrected misinformation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * 40% slowdown resist * Pew * Pew pew * Wording fix * I forgor * crying emoji * types vs groups D: --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot]
parent
1271a43389
commit
b70452f797
@@ -15,6 +15,7 @@ using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Events;
|
||||
using Robust.Shared.Physics.Systems;
|
||||
using Robust.Shared.Timing;
|
||||
using Content.Shared.Atmos.Components; // DeltaV
|
||||
|
||||
namespace Content.Shared.Rootable;
|
||||
|
||||
@@ -88,6 +89,8 @@ public abstract class SharedRootableSystem : EntitySystem
|
||||
return false;
|
||||
|
||||
entity.Comp.Rooted = !entity.Comp.Rooted;
|
||||
if (TryComp<MovedByPressureComponent>(entity, out var moved)) // Delta-V - Prevent spacewind
|
||||
moved.Enabled = !entity.Comp.Rooted;
|
||||
_movementSpeedModifier.RefreshMovementSpeedModifiers(entity);
|
||||
Dirty(entity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user