mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 12:17:40 +01:00
[MIRROR] EMP & Wires refactor (#12658)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
494fc9bea9
commit
b116cc450d
@@ -107,6 +107,7 @@
|
||||
return -1
|
||||
|
||||
/obj/item/organ/internal/eyes/emp_act(severity, recursive)
|
||||
..()
|
||||
if(owner && robotic)
|
||||
owner.eye_blurry += (4/severity)
|
||||
. = ..()
|
||||
if (. & EMP_PROTECT_SELF || !robotic || !owner)
|
||||
return
|
||||
owner.eye_blurry += (4/severity)
|
||||
|
||||
Reference in New Issue
Block a user