mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
Fix spirits, robots, and megafauna being affected by hallucinations (#70263)
Revenants, robots, and megafauna are no longer affected by hallucinations
This commit is contained in:
@@ -63,6 +63,9 @@ GLOBAL_LIST_EMPTY(all_ongoing_hallucinations)
|
||||
if(HAS_TRAIT(nearby_living, TRAIT_MADNESS_IMMUNE) || (nearby_living.mind && HAS_TRAIT(nearby_living.mind, TRAIT_MADNESS_IMMUNE)))
|
||||
continue
|
||||
|
||||
if(nearby_living.mob_biotypes & (MOB_ROBOTIC|MOB_SPIRIT|MOB_EPIC))
|
||||
continue
|
||||
|
||||
if(nearby_living.is_blind())
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user