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
+2
View File
@@ -37,6 +37,8 @@
continue
if(!H.client)
continue
if(H.exempt_from_health_events)
continue
if(H.stat == DEAD)
continue
if(HAS_TRAIT(H, TRAIT_VIRUSIMMUNE)) //Don't pick someone who's virus immune, only for it to not do anything.