|
本帖最后由 a0936459772 于 2013-7-28 22:38 编辑 原作者的帖子有附说明,不晓得你有没有先阅读过? 技能升级脚本 v2.1 http://rpg.blue/forum.php?mod=vi ... &fromuid=356025 [pre lang="ruby" line="1"] #-------------------------------------------------------------------------- # ● 绘制技能熟练度 #-------------------------------------------------------------------------- def draw_skill_exp(skill, x, y) return unless skill.can_lvup? return if skill.transformed change_color(system_color) text = SKILL_EXP_VOCAB draw_text(x, y, text_width(text), line_height, text) change_color(normal_color) color1 = text_color(18) color2 = text_color(20) current = @actor.skill_exp(skill.id) if @actor.skill_can_lvup?(skill.id) max = @actor.skill_next_exp(skill.id) rate = current.to_f / max draw_gauge(x+103, y, 120, rate, color1, color2) draw_current_and_max_values(x+76, y, 150, current, max, normal_color, normal_color) else draw_current_and_max_values(x+76, y, 150, "--", "--", normal_color, normal_color) end end[/pre] 从这段代码来看,技能能升级时就正常绘制,无法升级则绘制--/-- 合理判断你贴的技能应该无法再升级,也就是满级状态,你确认一下 |
| 已经解决!原来无法天生遗传,只能通过升级学习的技能才有。 |
|
| 这……应该是【有事请教】吧……不是【版务】吧…… |
|
把你的脚本贴出来... 还有你是不是分类错误了阿? |