| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2017-9-16 |
| 在线时间 | 1141 小时 |
梦·贤者
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 1141 小时
- 注册时间
- 2007-12-15
- 回帖
- 4075
|
发表于 2009-4-28 22:50:03
|
显示全部楼层
在Game_Actor里:在
def next_rest_exp_s
return @exp_list[@level+1] > 0 ?
(@exp_list[@level+1] - @exp).to_s : "-------"
end
后面加上:
def level_exp_s
return @exp_list[@level+1] > 0 ? (@exp-@exp_list[@level]).to_s : "-------"
end
然后把Window_Base里面的函数
def draw_actor_exp(actor, x, y)
self.contents.font.color = system_color
self.contents.draw_text(x, y, 24, 32, "E")
self.contents.font.color = normal_color
self.contents.draw_text(x + 24, y, 84, 32, actor.level_exp_s,2)
self.contents.draw_text(x + 108, y, 12, 32, "/", 1)
self.contents.draw_text(x + 120, y, 84, 32, actor.next_exp_s)
end
修改红色部分
系统信息:本贴由本区版主认可为正确答案,66RPG感谢您的热情解答~ |
|