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-11 15:09:48 -04:00
committed by Yoshax
parent db8f23dde9
commit c344d6345f

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)