diff --git a/code/modules/flufftext/Hallucination.dm b/code/modules/flufftext/Hallucination.dm index d8a1f4f1526..e3d139696c8 100644 --- a/code/modules/flufftext/Hallucination.dm +++ b/code/modules/flufftext/Hallucination.dm @@ -36,7 +36,7 @@ Gunshots/explosions/opening doors/less rare audio (done) handling_hal = 1 while(hallucination > 20) - sleep(rand(200, 500) / (hallucination / 25)) + sleep(rand(200, 500) / (hallucination * 0.04)) if(prob(20)) continue var/list/current = list() @@ -253,7 +253,7 @@ Gunshots/explosions/opening doors/less rare audio (done) break if(pump) borer = new(pump.loc,target) - for(var/i=0, i<11, i++) + for(var/i in 0 to 10) walk_to(borer, get_step(borer, get_cardinal_dir(borer, T))) if(borer.Adjacent(T)) to_chat(T, "You feel a creeping, horrible sense of dread come over you, freezing your limbs and setting your heart racing.") @@ -331,10 +331,10 @@ Gunshots/explosions/opening doors/less rare audio (done) target = T var/turf/start = get_turf(T) var/screen_border = pick(cardinal) - for(var/i = 0,i<11,i++) + for(var/i in 0 to 10) start = get_step(start, screen_border) s = new(start,target) - for(var/i = 0,i<11,i++) + for(var/i in 0 to 10) sleep(5) s.loc = get_step(get_turf(s), get_dir(s, target)) s.Show() @@ -359,10 +359,10 @@ Gunshots/explosions/opening doors/less rare audio (done) /obj/effect/hallucination/battle/New(loc, mob/living/carbon/T) target = T - var/hits = rand(3,6) + var/hits = rand(2,5) switch(rand(1,5)) if(1) //Laser fight - for(var/i=0,i0, i--) + for(var/i = rand(1,3), i>0, i--) //Can this be formatted? playsound_local(null, 'sound/weapons/empty.ogg', 15, 1) sleep(rand(10,30)) playsound_local(null, 'sound/machines/airlockforced.ogg', 15, 1)