Make Asphyxiating pierce Resistances (#41556)
Make Asphyxiating pierce res
This commit is contained in:
parent
9796941995
commit
484c96b043
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue