mirror of
https://github.com/KabKebab/GS13.git
synced 2026-02-09 23:27:37 +00:00
whoops, I missed some
This commit is contained in:
@@ -337,10 +337,10 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
for(var/i in 1 to rand(5, 10))
|
||||
target.playsound_local(source, 'sound/weapons/laser.ogg', 25, 1)
|
||||
if(prob(50))
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, 'sound/weapons/sear.ogg', 25, 1), rand(5,10))
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob/, playsound_local), source, 'sound/weapons/sear.ogg', 25, 1), rand(5,10))
|
||||
hits++
|
||||
else
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, 'sound/weapons/effects/searwall.ogg', 25, 1), rand(5,10))
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob/, playsound_local), source, 'sound/weapons/effects/searwall.ogg', 25, 1), rand(5,10))
|
||||
sleep(rand(CLICK_CD_RANGE, CLICK_CD_RANGE + 6))
|
||||
if(hits >= 4 && prob(70))
|
||||
target.playsound_local(source, get_sfx("bodyfall"), 25, 1)
|
||||
@@ -350,10 +350,10 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
for(var/i in 1 to rand(5, 10))
|
||||
target.playsound_local(source, 'sound/weapons/taser2.ogg', 25, 1)
|
||||
if(prob(50))
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, 'sound/weapons/tap.ogg', 25, 1), rand(5,10))
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob/, playsound_local), source, 'sound/weapons/tap.ogg', 25, 1), rand(5,10))
|
||||
hits++
|
||||
else
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, 'sound/weapons/effects/searwall.ogg', 25, 1), rand(5,10))
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob/, playsound_local), source, 'sound/weapons/effects/searwall.ogg', 25, 1), rand(5,10))
|
||||
sleep(rand(CLICK_CD_RANGE, CLICK_CD_RANGE + 6))
|
||||
if(hits >= 3 && prob(70))
|
||||
target.playsound_local(source, get_sfx("bodyfall"), 25, 1)
|
||||
@@ -371,10 +371,10 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
for(var/i in 1 to rand(3, 6))
|
||||
target.playsound_local(source, get_sfx("gunshot"), 25)
|
||||
if(prob(60))
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, 'sound/weapons/pierce.ogg', 25, 1), rand(5,10))
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob/, playsound_local), source, 'sound/weapons/pierce.ogg', 25, 1), rand(5,10))
|
||||
hits++
|
||||
else
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, "ricochet", 25, 1), rand(5,10))
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob/, playsound_local), source, "ricochet", 25, 1), rand(5,10))
|
||||
sleep(rand(CLICK_CD_RANGE, CLICK_CD_RANGE + 6))
|
||||
if(hits >= 2 && prob(80))
|
||||
target.playsound_local(source, get_sfx("bodyfall"), 25, 1)
|
||||
|
||||
Reference in New Issue
Block a user