| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 3 | 
 
| 积分 | 1 | 
 
| 经验 | 1064 | 
 
| 最后登录 | 2013-5-16 | 
 
| 在线时间 | 518 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 50 
 
        - 在线时间
 - 518 小时
 
        - 注册时间
 - 2010-6-16
 
        - 帖子
 - 1073
 
 
 
 | 
	
 本帖最后由 Rion幻音 于 2011-3-7 13:40 编辑  
 
加入这脚本吧~- #==============================================================================
 
 - # ■ draw_actor_parameter美化  By Rion幻音
 
 - #------------------------------------------------------------------------------
 
 - #  在显示属性旁加下属性槽
 
 - #==============================================================================
 
  
- class Window_Base < Window
 
 -   def draw_actor_parameter(actor, x, y, type)
 
 -     case type
 
 -     when 0
 
 -       parameter_name = Vocab::atk
 
 -       parameter_value = actor.atk
 
 -       gc1 = text_color(0)
 
 -       gc2 = text_color(1)
 
 -     when 1
 
 -       parameter_name = Vocab::def
 
 -       parameter_value = actor.def
 
 -       gc1 = text_color(0)
 
 -       gc2 = text_color(2)
 
 -     when 2
 
 -       parameter_name = Vocab::spi
 
 -       parameter_value = actor.spi
 
 -       gc1 = text_color(0)
 
 -       gc2 = text_color(3)
 
 -     when 3
 
 -       parameter_name = Vocab::agi
 
 -       parameter_value = actor.agi
 
 -       gc1 = text_color(0)
 
 -       gc2 = text_color(4)
 
 -     end
 
 -     gw = 160 * parameter_value / 500
 
 -     self.contents.fill_rect(x, y + WLH - 8, 160, 6, gauge_back_color)
 
 -     self.contents.gradient_fill_rect(x, y + WLH - 8, gw, 6, gc1, gc2)
 
 -     self.contents.font.color = system_color
 
 -     self.contents.draw_text(x, y, 120, WLH, parameter_name)
 
 -     self.contents.font.color = normal_color
 
 -     self.contents.draw_text(x + 120, y, 36, WLH, parameter_value, 2)
 
 -   end
 
 - end
 
  复制代码 |   
 
评分
- 
查看全部评分
 
 
 
 
 
 |