mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
@@ -388,7 +388,9 @@
|
||||
name = "mechanically assisted [initial(name)]"
|
||||
icon_state = initial(icon_state)
|
||||
|
||||
/obj/item/organ/emp_act(var/severity)
|
||||
/obj/item/organ/emp_act(severity)
|
||||
. = ..()
|
||||
|
||||
if(!(status & ORGAN_ASSISTED))
|
||||
return
|
||||
|
||||
@@ -398,12 +400,10 @@
|
||||
organ_fragility = 1
|
||||
|
||||
switch (severity)
|
||||
if (1.0)
|
||||
if (EMP_HEAVY)
|
||||
take_surge_damage(15 * emp_coeff * organ_fragility)
|
||||
if (2.0)
|
||||
if (EMP_LIGHT)
|
||||
take_surge_damage(8 * emp_coeff * organ_fragility)
|
||||
if(3.0)
|
||||
take_surge_damage(4 * emp_coeff * organ_fragility)
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user