Make Asphyxiating pierce Resistances (#41556)

Make Asphyxiating pierce res
This commit is contained in:
Sir Warock 2025-11-24 13:53:11 +01:00 committed by GitHub
parent 9796941995
commit 484c96b043
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ public sealed class RespiratorSystem : EntitySystem
_adminLogger.Add(LogType.Asphyxiation, $"{ToPrettyString(ent):entity} started suffocating");
var suffocationDamage = HasComp<DebrainedComponent>(ent) ? ent.Comp.Damage * 4.5f : ent.Comp.Damage; // Shitmed Change - Increased damage for debrained
_damageableSys.TryChangeDamage(ent, suffocationDamage, interruptsDoAfters: false); // Shitmed Change
_damageableSys.TryChangeDamage(ent.Owner, suffocationDamage, interruptsDoAfters: false, ignoreResistances: true); // Shitmed Change
if (ent.Comp.SuffocationCycles < ent.Comp.SuffocationCycleThreshold)
return;