Fixed the borg health display issue.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2410 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-10-21 20:01:40 +00:00
parent 5c47d7e7ce
commit c74765faaf

View File

@@ -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"