mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Merge pull request #10771 from DelZeta/MRGLGRGLGR
Fixes permahallucinations.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user