Here for you,
add at the end of Window_Base:
def dibuja_angulo(actor, x,y,radio,ancho)
i=0.25
ang_ini = 0
if actor.hp >= (actor.maxhp.to_i*75)/100
ang_fin = 270
w = actor.hp - (actor.maxhp*75)/100
else
ang_fin = (actor.hp*360)/actor.maxhp
w = 0
end
for j in 1..ancho
while (i<=ang_fin)
lax = Math.cos(((i+90)*Math::PI)/180)*(radio+j)
lay = Math.sin(((i+90)*Math::PI)/180)*(radio+j)
contents.set_pixel(x+lax,y+lay,Color.new(55, 250-j*5,55 ,255))
i= i + 0.25
end
contents.fill_rect(x,y+(radio)+j, w,1, Color.new(55, 250-j*5,55 ,255))
i=0.25
end
w = actor.sp/3
for j in 1..(7*ancho/8)
contents.fill_rect(x,y+((7)*radio/8)+j, w,1, Color.new(55, 55 ,250-j*5,255))
end
w = (actor.hp/6)
for j in 0..w #j es la x e y la y
i = ((j*j/2)-(j) )/200 + (ancho/4)
contents.fill_rect(x+j+(radio), y-i+((4)*radio/8),1,ancho+i, Color.new(255, 100+j, 100-i, 255))
end
end
end
and in Window_Status
dibuja_angulo(@actor, x+40,y+100,30,3)