NO_POISON or IS_PLANT now grant hallucination immunity

Also stops hallucinations from preventing passing out from halloss.
Resolves #14395
Resolves #12425
This commit is contained in:
Techhead
2016-10-25 21:21:57 +01:00
committed by Yoshax
parent db8f23dde9
commit c344d6345f
+1 -1
View File
@@ -902,7 +902,7 @@
Paralyse(3)
if(hallucination)
if(hallucination >= 20)
if(hallucination >= 20 && !(species.flags & (NO_POISON|IS_PLANT)) )
if(prob(3))
fake_attack(src)
if(!handling_hal)