From ba752d10fb8aa5f0a29cd6db3113709adac7c101 Mon Sep 17 00:00:00 2001 From: WenlockTheBritishHobo <168675688+WenlockTheBritishHobo@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:17:52 +0100 Subject: [PATCH] The amplified drill actually heals IPCs for more than just stamina damage (#26917) * Should make the healing apply to IPCs too * Should allow for robotic to be used * Still trying to get it to work, might be making progress * Human level var gets info from owner * Minor comment fix --- code/datums/status_effects/buffs.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/datums/status_effects/buffs.dm b/code/datums/status_effects/buffs.dm index 2d0d83f725f..7676605499a 100644 --- a/code/datums/status_effects/buffs.dm +++ b/code/datums/status_effects/buffs.dm @@ -727,16 +727,17 @@ owner.clear_fullscreen("payback") owner.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/stretch/payback, 1) -/datum/status_effect/drill_payback/tick() //They are not staying down. This will be a fight. - if(!drilled_successfully && (get_dist(owner, drilled) >= 9)) //We don't want someone drilling the safe at arivals then raiding bridge with the buff +/datum/status_effect/drill_payback/tick() // They are not staying down. This will be a fight. + if(!drilled_successfully && (get_dist(owner, drilled) >= 9)) // We don't want someone drilling the safe at arrivals then raiding bridge with the buff to_chat(owner, "Get back to the safe, they are going to get the drill!") times_warned++ if(times_warned >= 6) owner.remove_status_effect(STATUS_EFFECT_DRILL_PAYBACK) return if(owner.stat != DEAD) - owner.adjustBruteLoss(-3) - owner.adjustFireLoss(-3) + var/mob/living/carbon/human/H = owner // The Brute and Burn heal doesn't work if it doesn't do it at the human level + H.adjustBruteLoss(-3, FALSE, robotic = TRUE) + H.adjustFireLoss(-3, FALSE, robotic = TRUE) owner.adjustStaminaLoss(-25) /datum/status_effect/drill_payback/on_remove()