mob
proc
actualHealth()
if(src.powerlevel_max*100 <= 0)
spawn(10) src.actualHealth()
return
var/percent=round(src.powerlevel/src.powerlevel_max*100,10)
if(percent>200) percent = 101
else if(percent>100) percent=100
if(percent<0) percent=0
for(var/obj/hudMeters/o in src)
o.icon_state=num2text(percent)
spawn(10)
src.actualHealth()
obj
hudMeters
health_07
icon='healthbar.dmi'
icon_state="0"
layer = 100
pixel_y = -32
Problem description:in the game the health bar dont updated