excludes certain ghost roles from being affected by health events

This commit is contained in:
Seris02
2019-12-28 16:46:50 +08:00
parent dcc73773da
commit 69d82338bc
6 changed files with 20 additions and 2 deletions
@@ -35,4 +35,8 @@
/datum/hallucination/delusion,
/datum/hallucination/oh_yeah)
for(var/mob/living/carbon/C in GLOB.alive_mob_list)
var/mob/living/carbon/human/H = C
if (istype(H))
if (H.exempt_from_health_events)
continue
new picked_hallucination(C, TRUE)