From 2e6b2141ee0605781bca0aae464bf35bf09c1de2 Mon Sep 17 00:00:00 2001 From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Mon, 1 Dec 2025 06:14:49 -0800 Subject: [PATCH] Fix Damageable API (#41657) Fix damageable api Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- Content.Shared/Damage/Systems/DamageableSystem.API.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Content.Shared/Damage/Systems/DamageableSystem.API.cs b/Content.Shared/Damage/Systems/DamageableSystem.API.cs index f1ae28c521..c39924ae2a 100644 --- a/Content.Shared/Damage/Systems/DamageableSystem.API.cs +++ b/Content.Shared/Damage/Systems/DamageableSystem.API.cs @@ -81,12 +81,12 @@ public sealed partial class DamageableSystem TargetBodyPart? targetPart = null, bool doPartDamage = true, bool onlyDamageParts = false - // END Shitmed Changes + // END Shitmed Changes ) { //! Empty just checks if the DamageSpecifier is _literally_ empty, as in, is internal dictionary of damage types is empty. // If you deal 0.0 of some damage type, Empty will be false! - return !TryChangeDamage(ent, damage, out _, ignoreResistances, interruptsDoAfters, origin, ignoreGlobalModifiers, + return TryChangeDamage(ent, damage, out _, ignoreResistances, interruptsDoAfters, origin, ignoreGlobalModifiers, canSever: canSever, canEvade: canEvade, partMultiplier: partMultiplier, targetPart: targetPart, doPartDamage: doPartDamage, onlyDamageParts: onlyDamageParts); // Shitmed } @@ -116,7 +116,7 @@ public sealed partial class DamageableSystem TargetBodyPart? targetPart = null, bool doPartDamage = true, bool onlyDamageParts = false - // END Shitmed Changes + // END Shitmed Changes ) { //! Empty just checks if the DamageSpecifier is _literally_ empty, as in, is internal dictionary of damage types is empty. @@ -151,7 +151,7 @@ public sealed partial class DamageableSystem TargetBodyPart? targetPart = null, bool doPartDamage = true, bool onlyDamageParts = false // DeltaV - Fix EvenHealing on Limbs && Standardize PartDamage. - // END Shitmed Changes + // END Shitmed Changes ) { var damageDone = new DamageSpecifier();