Project1
标题:
状态界面显示上限等级
[打印本页]
作者:
hijl1990
时间:
2014-12-5 22:28
标题:
状态界面显示上限等级
本帖最后由 hijl1990 于 2014-12-5 22:47 编辑
如何在状态界面,多一个显示角色最高等级的功能?
作者:
chd114
时间:
2014-12-5 22:33
什么最高等级?角色最高等级?
作者:
chd114
时间:
2014-12-5 22:50
$game_actors[X].max_level
复制代码
就是X号角色的最高等级,你说得状态界面我不确定是哪一个···还是发一下吧
作者:
VIPArcher
时间:
2014-12-5 23:09
class Window_Base < Window
alias draw_max_level draw_actor_level
def draw_actor_level(actor, x, y)
draw_max_level(actor, x, y)
draw_text(x + 54, y, 32, line_height, " / #{actor.max_level}" , 2)
end
end
复制代码
未完全测试
作者:
chd114
时间:
2014-12-6 09:17
VIPArcher 发表于 2014-12-5 06:09
未完全测试
看楼上点评···改标签吧···
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1