Damage masks (#9402)
This commit is contained in:
16
Content.Server/MobState/MobStateSystem.Crit.cs
Normal file
16
Content.Server/MobState/MobStateSystem.Crit.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Content.Shared.StatusEffect;
|
||||
|
||||
namespace Content.Server.MobState;
|
||||
|
||||
public sealed partial class MobStateSystem
|
||||
{
|
||||
public override void EnterCritState(EntityUid uid)
|
||||
{
|
||||
base.EnterCritState(uid);
|
||||
|
||||
if (HasComp<StatusEffectsComponent>(uid))
|
||||
{
|
||||
Status.TryRemoveStatusEffect(uid, "Stun");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user