mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Another 515 Casualty (#16017)
This commit is contained in:
@@ -196,21 +196,20 @@
|
||||
else
|
||||
healths.icon_state = "health6"
|
||||
else
|
||||
switch(health)
|
||||
if(200 to INFINITY)
|
||||
healths.icon_state = "health0"
|
||||
if(150 to 200)
|
||||
healths.icon_state = "health1"
|
||||
if(100 to 150)
|
||||
healths.icon_state = "health2"
|
||||
if(50 to 100)
|
||||
healths.icon_state = "health3"
|
||||
if(0 to 50)
|
||||
healths.icon_state = "health4"
|
||||
if(config.health_threshold_dead to 0)
|
||||
healths.icon_state = "health5"
|
||||
else
|
||||
healths.icon_state = "health6"
|
||||
if(health >= 200)
|
||||
healths.icon_state = "health0"
|
||||
else if(health >= 150)
|
||||
healths.icon_state = "health1"
|
||||
else if(health >= 100)
|
||||
healths.icon_state = "health2"
|
||||
else if(health >= 50)
|
||||
healths.icon_state = "health3"
|
||||
else if(health >= 0)
|
||||
healths.icon_state = "health4"
|
||||
else if(health >= config.health_threshold_dead)
|
||||
healths.icon_state = "health5"
|
||||
else
|
||||
healths.icon_state = "health6"
|
||||
else
|
||||
healths.icon_state = "health7"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user