| 
 
| 赞 | 2 |  
| VIP | 10 |  
| 好人卡 | 2 |  
| 积分 | 1 |  
| 经验 | 132388 |  
| 最后登录 | 2016-5-9 |  
| 在线时间 | 34 小时 |  
 Lv1.梦旅人 冰王子 
	梦石0 星屑50 在线时间34 小时注册时间2008-1-27帖子1875 | 
| 好像都重叠在一起了 改成这样试试
 def HP(actor,x,y,w=80)
 self.contents.fill_rect(x+2, y+16, w+4,8, Color.new(228,177,0,255))
 self.contents.fill_rect(x+3, y+17, w+2,6, Color.new(0,0,0,255))
 w1=w * actor.hp/actor.maxhp
 self.contents.fill_rect(x+3, y+18, w1+1,2, Color.new(150,0,0,255))
 self.contents.fill_rect(x+3, y+19, w1+1,2, Color.new(255,0,0,255))
 self.contents.fill_rect(x+3, y+21, w1+1,2, Color.new(150,0,0,255))
 end
 
 def SP(actor,x,y,w=80)
 self.contents.fill_rect(x+2, y+16, w+4,8, Color.new(228,177,0,255))
 self.contents.fill_rect(x+3, y+17, w+2,6, Color.new(0,0,0,255))
 w2=w * actor.sp/actor.maxsp
 self.contents.fill_rect(x+3, y+19, w2+1,2, Color.new(5,0,228,255))
 end
 
 | 
 |