mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
Merge pull request #10771 from DelZeta/MRGLGRGLGR
Fixes permahallucinations.
This commit is contained in:
@@ -951,19 +951,7 @@
|
|||||||
spawn(rand(20,50))
|
spawn(rand(20,50))
|
||||||
client.dir = 1
|
client.dir = 1
|
||||||
|
|
||||||
if(hallucination)
|
hallucination = max(0, hallucination - 2)
|
||||||
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
|
|
||||||
|
|
||||||
else
|
else
|
||||||
for(var/atom/a in hallucinations)
|
for(var/atom/a in hallucinations)
|
||||||
qdel(a)
|
qdel(a)
|
||||||
|
|||||||
Reference in New Issue
Block a user