From 5f6080d7434fcee0187822a9b93eb60e8e3bd8a9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 11 Apr 2021 13:50:37 -0400 Subject: [PATCH] Throwing Crit/Dead humanmobs now damages them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🆑 tweak - Throwing critically injured/dead humanmobs now damages them further. /🆑 --- code/modules/mob/living/living.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index c16bce0c57..2c4e233bfd 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -1006,6 +1006,10 @@ var/turf/end_T = get_turf(target) if(end_T) add_attack_logs(src,M,"Thrown via grab to [end_T.x],[end_T.y],[end_T.z]") + if(ishuman(M)) + var/mob/living/carbon/human/N = M + if((N.health + N.halloss) < config.health_threshold_crit || N.stat == DEAD) + N.adjustBruteLoss(rand(10,30)) src.drop_from_inventory(G) src.drop_from_inventory(item)