Per Couls advice, removed the CanSuccumb verb and now borgs are considered InCritical when in low power mode

This commit is contained in:
unknown
2019-08-11 23:45:49 -04:00
parent 3a0f6d9937
commit 1e12cae6a5
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -244,7 +244,7 @@
/mob/living/verb/succumb()
set hidden = 1
if(CanSuccumb())
if(InCritical())
create_attack_log("[src] has ["succumbed to death"] with [round(health, 0.1)] points of health!")
adjustOxyLoss(health - HEALTH_THRESHOLD_DEAD)
// super check for weird mobs, including ones that adjust hp
@@ -256,8 +256,6 @@
death()
to_chat(src, "<span class='notice'>You have given up life and succumbed to death.</span>")
/mob/living/proc/CanSuccumb()
return InCritical()
/mob/living/proc/InCritical()
return (health < HEALTH_THRESHOLD_CRIT && health > HEALTH_THRESHOLD_DEAD && stat == UNCONSCIOUS)
@@ -576,7 +576,7 @@ var/list/robot_verbs_default = list(
/mob/living/silicon/robot/restrained()
return 0
/mob/living/silicon/robot/CanSuccumb()
/mob/living/silicon/robot/InCritical()
return low_power_mode
/mob/living/silicon/robot/ex_act(severity)