mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Makes flashes confuse and blind the person instead of stunning
This commit is contained in:
@@ -74,13 +74,17 @@
|
|||||||
if(M.stat!=DEAD)
|
if(M.stat!=DEAD)
|
||||||
var/safety = M:eyecheck()
|
var/safety = M:eyecheck()
|
||||||
if(safety <= 0)
|
if(safety <= 0)
|
||||||
var/flash_strength = 10
|
var/flash_strength = 5
|
||||||
if(ishuman(M))
|
if(ishuman(M))
|
||||||
var/mob/living/carbon/human/H = M
|
var/mob/living/carbon/human/H = M
|
||||||
flash_strength *= H.species.flash_mod
|
flash_strength *= H.species.flash_mod
|
||||||
if(flash_strength > 0)
|
|
||||||
M.Weaken(flash_strength)
|
if(flash_strength > 0)
|
||||||
M.flash_eyes()
|
H.confused = max(H.confused, flash_strength)
|
||||||
|
H.eye_blind = max(H.eye_blind, flash_strength)
|
||||||
|
H.eye_blurry = max(H.eye_blurry, flash_strength + 5)
|
||||||
|
H.flash_eyes()
|
||||||
|
|
||||||
else
|
else
|
||||||
flashfail = 1
|
flashfail = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user