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
@@ -15,6 +15,8 @@
continue
if(H.stat == DEAD)
continue
if (H.exempt_from_health_events)
continue
if(!H.getorgan(/obj/item/organ/appendix)) //Don't give the disease to some who lacks it, only for it to be auto-cured
continue
if(!(MOB_ORGANIC in H.mob_biotypes)) //biotype sleeper bugs strike again, once again making appendicitis pick a target that can't take it