Better logic.

This commit is contained in:
Archie
2021-06-07 17:47:39 -03:00
parent 81377a6255
commit 7b835c2128
@@ -54,10 +54,11 @@
//watching someone die is traumatic
for(var/mob/living/carbon/human/C in oview(5, src))
if(!HAS_TRAIT(C, TRAIT_APATHETIC))
SEND_SIGNAL(C, COMSIG_ADD_MOOD_EVENT, "death", /datum/mood_event/deathsaw)
if(prob(10)) //10% chance to pump adrenaline into their body
C.jitteriness += 5
if(C.mind) //We don't need to give this to anything that doesn't have a mind. That's wasted processing.
if(!HAS_TRAIT(C, TRAIT_APATHETIC) || !C.mind.assigned_role == "Medical Doctor") //Shamelessly stolen from the Doctor's Delight
SEND_SIGNAL(C, COMSIG_ADD_MOOD_EVENT, "death", /datum/mood_event/deathsaw)
if(prob(10)) //10% chance to pump adrenaline into their body
C.jitteriness += 5
/mob/living/carbon/human/proc/makeSkeleton()
ADD_TRAIT(src, TRAIT_DISFIGURED, TRAIT_GENERIC)