赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 0 |
最后登录 | 2024-4-18 |
在线时间 | 16 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 110
- 在线时间
- 16 小时
- 注册时间
- 2023-9-26
- 帖子
- 1
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
在论坛里找到大佬20年的一个帖子,里面有一个天赋脚本。
我下下来并用到游戏里,但是显示
line 304:nomethoderror occurred.undefined method‘[]’for nil:nilclass
的错误。
def update_help_text
ch = contents.height
cw = contents.width
skill_name = cursor_at[1] == 1 ? $data_skills[cursor_at[2]].name : $data_states[cursor_at[1]].name
draw_text(0,ch-70,cw,line_height,"学习新技能")
draw_text(0,ch-70,cw,line_height,skill_name,2)
draw_text(0,ch-40,cw,line_height,"消耗技能点")
draw_text(0,ch-40,cw,line_height,@skills4actor[@cursor_index][4],2)
end
求教大佬们怎么解决这个错误.... |
|