From 3a45f4a0811640531565a87a219b45296db93933 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Tue, 23 Feb 2016 07:36:36 -0500 Subject: [PATCH] Tweaks Heart Attacks --- code/modules/mob/living/carbon/human/death.dm | 1 + code/modules/mob/living/carbon/human/life.dm | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm index 879b7be7c0a..0da65146ba7 100644 --- a/code/modules/mob/living/carbon/human/death.dm +++ b/code/modules/mob/living/carbon/human/death.dm @@ -90,6 +90,7 @@ stat = DEAD dizziness = 0 jitteriness = 0 + heart_attack = 0 //Handle species-specific deaths. if(species) species.handle_death(src) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 41da55170bc..1651de21c24 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1276,11 +1276,10 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc if(!heart_attack) return else - losebreath += 5 - adjustOxyLoss(10) - adjustBrainLoss(rand(4,10)) - Paralyse(2) - return + if(losebreath < 3) + losebreath += 2 + adjustOxyLoss(5) + adjustBruteLoss(1)