diff --git a/Content.Shared/Mobs/Systems/MobThresholdSystem.cs b/Content.Shared/Mobs/Systems/MobThresholdSystem.cs index 92d51b0edd5..ee37290a577 100644 --- a/Content.Shared/Mobs/Systems/MobThresholdSystem.cs +++ b/Content.Shared/Mobs/Systems/MobThresholdSystem.cs @@ -29,7 +29,7 @@ public override void Initialize() private void OnGetState(EntityUid uid, MobThresholdsComponent component, ref ComponentGetState args) { // Nuclear14 HP depends on Endurance - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(uid, out var special)) totalEndurance = special.TotalEndurance; var thresholds = new Dictionary(); @@ -49,7 +49,7 @@ private void OnGetState(EntityUid uid, MobThresholdsComponent component, ref Com private void OnHandleState(EntityUid uid, MobThresholdsComponent component, ref ComponentHandleState args) { // Nuclear14 HP depends on Endurance - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(uid, out var special)) totalEndurance = special.TotalEndurance; var thresholds = new Dictionary(); @@ -114,7 +114,7 @@ public FixedPoint2 GetThresholdForState(EntityUid target, MobState mobState, { if (!Resolve(target, ref thresholdComponent)) return FixedPoint2.Zero; - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(target, out var special)) totalEndurance = special.TotalEndurance; @@ -141,7 +141,7 @@ public bool TryGetThresholdForState(EntityUid target, MobState mobState, [NotNullWhen(true)] out FixedPoint2? threshold, MobThresholdsComponent? thresholdComponent = null) { - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(target, out var special)) totalEndurance = special.TotalEndurance; @@ -221,7 +221,7 @@ public bool TryGetIncapPercentage(EntityUid target, FixedPoint2 damage, percentage = 0; return true; } - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(target, out var special)) totalEndurance = special.TotalEndurance; @@ -311,7 +311,7 @@ public void SetMobStateThreshold(EntityUid target, FixedPoint2 damage, MobState { if (!Resolve(target, ref threshold)) return; - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(target, out var special)) totalEndurance = special.TotalEndurance; @@ -365,7 +365,7 @@ public void SetAllowRevives(EntityUid uid, bool val, MobThresholdsComponent? com private void CheckThresholds(EntityUid target, MobStateComponent mobStateComponent, MobThresholdsComponent thresholdsComponent, DamageableComponent damageableComponent, EntityUid? origin = null) { - var totalEndurance = 0; + var totalEndurance = 5; if (TryComp(target, out var special)) totalEndurance = special.TotalEndurance;