CPR effectiveness messages now properly reflect effectiveness (#23106)

* CPR effectiveness messages now properly reflect effectiveness

* Update code/modules/mob/living/carbon/human/human_mob.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: Adrer <adrermail@gmail.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Adrer
2023-11-03 02:31:42 +01:00
committed by GitHub
parent 7321d089fc
commit bcaa4e509d
@@ -1709,7 +1709,7 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
SEND_SIGNAL(H, COMSIG_HUMAN_RECEIVE_CPR, (new_time SECONDS))
if(prob(5))
if(timer_restored > 4 SECONDS)
if(timer_restored >= CPR_BREATHS_RESTORATION)
to_chat(src, pick(effective_cpr_messages))
else
to_chat(src, pick(ineffective_cpr_messages))