makes flashes more effective as a utility item rather than a weapon (#7911)

This commit is contained in:
deathride58
2019-01-27 03:32:40 -05:00
committed by kevinz000
parent 131fc926b3
commit 31af02d4e6
+4 -2
View File
@@ -125,7 +125,9 @@
to_chat(M, "<span class='userdanger'>[user] blinds you with the flash!</span>")
else
to_chat(M, "<span class='userdanger'>You are blinded by [src]!</span>")
M.Knockdown(rand(80,120))
var/toblur = 20 - M.eye_blurry
if(toblur > 0)
M.blur_eyes(toblur)
else if(user)
visible_message("<span class='disarm'>[user] fails to blind [M] with the flash!</span>")
to_chat(user, "<span class='warning'>You fail to blind [M] with the flash!</span>")
@@ -141,7 +143,7 @@
if(!try_use_flash(user))
return FALSE
if(iscarbon(M))
flash_carbon(M, user, 5, 1)
flash_carbon(M, user, 20, 1)
return TRUE
else if(issilicon(M))
var/mob/living/silicon/robot/R = M