mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-09 08:52:29 +00:00
VeyMed limbs (and organs) are now more vulnerable to EMP (#4987)
* VeyMed limbs (and organs) are now more vulnerable to EMP * Changelog
This commit is contained in:
@@ -294,15 +294,16 @@ var/list/organ_cache = list()
|
||||
/obj/item/organ/emp_act(severity)
|
||||
if(!(robotic >= ORGAN_ASSISTED))
|
||||
return
|
||||
switch (severity)
|
||||
if (1)
|
||||
take_damage(rand(6,12))
|
||||
if (2)
|
||||
take_damage(rand(4,8))
|
||||
if (3)
|
||||
take_damage(rand(3,6))
|
||||
if (4)
|
||||
take_damage(rand(1,4))
|
||||
for(var/i = 1; i <= robotic; i++)
|
||||
switch (severity)
|
||||
if (1)
|
||||
take_damage(rand(5,9))
|
||||
if (2)
|
||||
take_damage(rand(3,7))
|
||||
if (3)
|
||||
take_damage(rand(2,5))
|
||||
if (4)
|
||||
take_damage(rand(1,3))
|
||||
|
||||
/obj/item/organ/proc/removed(var/mob/living/user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user