From c74765faaf167cd845b37497fcf5d3bf5be80cbc Mon Sep 17 00:00:00 2001 From: uporotiy Date: Fri, 21 Oct 2011 20:01:40 +0000 Subject: [PATCH] Fixed the borg health display issue. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2410 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/silicon/robot/life.dm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/life.dm b/code/modules/mob/living/silicon/robot/life.dm index b621e79a46..c4cea38cfc 100644 --- a/code/modules/mob/living/silicon/robot/life.dm +++ b/code/modules/mob/living/silicon/robot/life.dm @@ -183,17 +183,17 @@ if (src.healths) if (src.stat != 2) switch(health) - if(300 to INFINITY) + if(200 to INFINITY) src.healths.icon_state = "health0" - if(250 to 300) - src.healths.icon_state = "health1" - if(200 to 250) - src.healths.icon_state = "health2" if(150 to 200) - src.healths.icon_state = "health3" + src.healths.icon_state = "health1" if(100 to 150) + src.healths.icon_state = "health2" + if(50 to 100) + src.healths.icon_state = "health3" + if(0 to 50) src.healths.icon_state = "health4" - if(0 to 100) + if(config.health_threshold_dead to 0) src.healths.icon_state = "health5" else src.healths.icon_state = "health6"