mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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
This commit is contained in:
committed by
GitHub
parent
b91fb66371
commit
ba752d10fb
@@ -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, "<span class='userdanger'>Get back to the safe, they are going to get the drill!</span>")
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user