draw_hp_store_bar2(actor, actor_x-40,113)
#---------------------------------------------------------------------------
#★描绘怒气槽
#--------------------------------------------------------------------------
def draw_hp_store_bar(actor,x,y)
width = 100
w = actor.hp_store
white = Color.new(225,225,225,225)
black = Color.new(0,0,0,200)
self.contents.font.color = Color.new(225,-215,-225,200)
#描绘白色框条
self.contents.fill_rect(x+40,y,width,1,white)
self.contents.fill_rect(x+40,y+12, width, 1,white)
self.contents.fill_rect(x+40,y,1,12,white)
self.contents.fill_rect(x+139,y,1,12,white)
#描绘黑色条
self.contents.fill_rect(x+42,y+2,width-4,10,black)
#描绘怒气槽
val = 245*actor.hp_store/100
green = 255 - val
blue = 255 - val
color = Color.new(255,green,blue,200)
top_color = Color.new(255,green+10,blue+20,200)
back_color = Color.new(255,green-10,blue-10,200)
self.contents.fill_rect(x+41,y+5,w-2,3,color)
self.contents.fill_rect(x+41,y+1,w-2,4,top_color)
self.contents.fill_rect(x+41,y+7,w-2,5,back_color)
#描绘文字
self.contents.draw_text(x+120,y-10,20,20,"怒")
end
#-------------------------------------------------------------------------
#★描绘怒气槽·版本2(仿桜雅)
#--------------------------------------------------------------------------
def draw_hp_store_bar2(actor,x,y)
width = 100
w = actor.hp_store
#描绘白色框条
self.contents.fill_rect(x+39,y,width+1,1,Color.new(225,225,225,200))
self.contents.fill_rect(x+39,y+5,width+2,1,Color.new(225,225,225,200))
self.contents.fill_rect(x+39,y,1,5,Color.new(225,225,225,200))
self.contents.fill_rect(x+140,y,1,5,Color.new(225,225,225,200))
#描绘黑色条
self.contents.fill_rect(x+40,y+1,width,4,Color.new(0,0,0,200))
#描绘怒气槽
self.contents.fill_rect(x+40, y+1, w,1, Color.new(255, 96, 96, 255))
self.contents.fill_rect(x+40, y+2, w,1, Color.new(255, 0, 0, 255))
self.contents.fill_rect(x+40, y+3, w,1, Color.new(128, 0, 0, 255))
self.contents.fill_rect(x+40, y+4, w,1, Color.new(0, 0, 0, 255))
end
draw_hp_store_bar2(actor, actor_x-40,113)
#---------------------------------------------------------------------------
#★描绘怒气槽
#--------------------------------------------------------------------------
def draw_hp_store_bar(actor,x,y)
width = 100
w = actor.hp_store
white = Color.new(225,225,225,225)
black = Color.new(0,0,0,200)
self.contents.font.color = Color.new(225,-215,-225,200)
#描绘白色框条
self.contents.fill_rect(x+40,y,width,1,white)
self.contents.fill_rect(x+40,y+12, width, 1,white)
self.contents.fill_rect(x+40,y,1,12,white)
self.contents.fill_rect(x+139,y,1,12,white)
#描绘黑色条
self.contents.fill_rect(x+42,y+2,width-4,10,black)
#描绘怒气槽
val = 245*actor.hp_store/100
green = 255 - val
blue = 255 - val
color = Color.new(255,green,blue,200)
top_color = Color.new(255,green+10,blue+20,200)
back_color = Color.new(255,green-10,blue-10,200)
self.contents.fill_rect(x+41,y+5,w-2,3,color)
self.contents.fill_rect(x+41,y+1,w-2,4,top_color)
self.contents.fill_rect(x+41,y+7,w-2,5,back_color)
#描绘文字
self.contents.draw_text(x+120,y-10,20,20,"怒")
end
#-------------------------------------------------------------------------
#★描绘怒气槽·版本2(仿桜雅)
#--------------------------------------------------------------------------
def draw_hp_store_bar2(actor,x,y)
width = 100
w = actor.hp_store
#描绘白色框条
self.contents.fill_rect(x+39,y,width+1,1,Color.new(225,225,225,200))
self.contents.fill_rect(x+39,y+5,width+2,1,Color.new(225,225,225,200))
self.contents.fill_rect(x+39,y,1,5,Color.new(225,225,225,200))
self.contents.fill_rect(x+140,y,1,5,Color.new(225,225,225,200))
#描绘黑色条
self.contents.fill_rect(x+40,y+1,width,4,Color.new(0,0,0,200))
#描绘怒气槽
self.contents.fill_rect(x+40, y+1, w,1, Color.new(255, 96, 96, 255))
self.contents.fill_rect(x+40, y+2, w,1, Color.new(255, 0, 0, 255))
self.contents.fill_rect(x+40, y+3, w,1, Color.new(128, 0, 0, 255))
self.contents.fill_rect(x+40, y+4, w,1, Color.new(0, 0, 0, 255))
end
以下引用⑩字绯影于2007-1-31 10:55:09的发言:
嗯~战士用怒气槽 贼用能量槽 其他的用蓝槽....谢谢
以下引用风雪优游于2007-1-30 21:24:22的发言:
虽然看了但还是不会的人支持一个 !
以下引用gpra8764于2007-3-15 19:33:18的发言:
楼主不用谦虚啦,至少这也是要付出心血的,鼓励下。
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |