From c9d2ab2568201ca0d097929320d1561ee9282c7a Mon Sep 17 00:00:00 2001 From: Paul <90473506+pwbokie@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:17:47 -0500 Subject: [PATCH] make his grace heal IPCs (#27865) * make his grace heal IPCs * remove unnecessary line for his grace buff Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Paul <90473506+pwbokie@users.noreply.github.com> --------- Signed-off-by: Paul <90473506+pwbokie@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --- code/datums/status_effects/buffs.dm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/code/datums/status_effects/buffs.dm b/code/datums/status_effects/buffs.dm index aa8dfa6c23dd..54e94de1030b 100644 --- a/code/datums/status_effects/buffs.dm +++ b/code/datums/status_effects/buffs.dm @@ -46,11 +46,13 @@ qdel(src) return var/grace_heal = bloodlust * 0.05 - owner.adjustBruteLoss(-grace_heal) - owner.adjustFireLoss(-grace_heal) - owner.adjustToxLoss(-grace_heal) - owner.adjustOxyLoss(-(grace_heal * 2)) - owner.adjustCloneLoss(-grace_heal) + + var/mob/living/carbon/human/owner_human = owner + owner_human.adjustBruteLoss(-grace_heal, robotic = TRUE) + owner_human.adjustFireLoss(-grace_heal, robotic = TRUE) + owner_human.adjustToxLoss(-grace_heal) + owner_human.adjustOxyLoss(-(grace_heal * 2)) + owner_human.adjustCloneLoss(-grace_heal) /datum/status_effect/his_grace/on_remove() add_attack_logs(owner, owner, "lost His Grace's stun immunity", ATKLOG_ALL)