Merge pull request #10771 from DelZeta/MRGLGRGLGR

Fixes permahallucinations.
This commit is contained in:
Chinsky
2015-08-22 05:33:34 +03:00

View File

@@ -951,19 +951,7 @@
spawn(rand(20,50))
client.dir = 1
if(hallucination)
if(hallucination >= 20)
if(prob(3))
fake_attack(src)
if(!handling_hal)
spawn handle_hallucinations() //The not boring kind!
if(client && prob(5))
client.dir = pick(2,4,8)
var/client/C = client
spawn(rand(20,50))
if(C)
C.dir = 1
hallucination = max(0, hallucination - 2)
else
for(var/atom/a in hallucinations)
qdel(a)