| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 1090 |  
| 最后登录 | 2017-5-8 |  
| 在线时间 | 26 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间26 小时注册时间2017-4-15帖子10 | 
| 
想加入个疲劳值系统,修改后发现只是加了个条而已,前面没有字。。。是不是要在哪里定义一下这个如HP MP这样的图片?
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  如HP----
 MP----
 ----
 
 
 Game_Battler
 #--------------------------------------------------------------------------
 def self.pl;          basic(8);     end   # PL
 def self.pl_a;        basic(9);     end   # PL(缩写)
 #--------------------------------------------------------------------------
 end
 Window_Base
 #--------------------------------------------------------------------------
 # ● 获取各种文字颜色
 #--------------------------------------------------------------------------
 def pl_gauge_color1;   text_color(26);  end;    # PL 值槽 1
 def pl_gauge_color2;   text_color(27);  end;    # PL 值槽 2
 #--------------------------------------------------------------------------
 # ● 获取 PL 的文字颜色
 #--------------------------------------------------------------------------
 def pl_color(actor)
 return normal_color
 end
 #--------------------------------------------------------------------------
 # ● 绘制 PL
 #--------------------------------------------------------------------------
 def draw_actor_pl(actor, x, y, width = 124)
 draw_gauge(x, y, width, actor.pl_rate, pl_gauge_color1, pl_gauge_color2)
 change_color(system_color)
 draw_text(x, y, 30, line_height, Vocab::pl_a)
 change_color(tp_color(actor))
 draw_text(x + width - 42, y, 42, line_height, actor.tp.to_i, 2)
 end
 #--------------------------------------------------------------------------
 # ● 绘制简单的状态
 #--------------------------------------------------------------------------
 def draw_actor_simple_status(actor, x, y)
 draw_actor_name(actor, x, y)
 draw_actor_level(actor, x, y + line_height * 1)
 draw_actor_icons(actor, x, y + line_height * 2)
 draw_actor_class(actor, x + 120, y)
 draw_actor_hp(actor, x + 120, y + line_height * 1)
 draw_actor_mp(actor, x + 120, y + line_height * 2)
 draw_actor_pl(actor, x + 120, y + line_height * 3)
 end
 | 
 |