From 33900c60f2300bacb21e838d149ac2283cf64bf0 Mon Sep 17 00:00:00 2001 From: Yoshax Date: Fri, 1 Jul 2016 19:02:57 +0100 Subject: [PATCH] Makes flashes confuse and blind the person instead of stunning --- code/game/objects/items/devices/flash.dm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/devices/flash.dm b/code/game/objects/items/devices/flash.dm index d143220935..e2430bb5d9 100644 --- a/code/game/objects/items/devices/flash.dm +++ b/code/game/objects/items/devices/flash.dm @@ -74,13 +74,17 @@ if(M.stat!=DEAD) var/safety = M:eyecheck() if(safety <= 0) - var/flash_strength = 10 + var/flash_strength = 5 if(ishuman(M)) var/mob/living/carbon/human/H = M flash_strength *= H.species.flash_mod - if(flash_strength > 0) - M.Weaken(flash_strength) - M.flash_eyes() + + if(flash_strength > 0) + 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 flashfail = 1