赞 | 7 |
VIP | 188 |
好人卡 | 0 |
积分 | 7 |
经验 | 17355 |
最后登录 | 2023-4-20 |
在线时间 | 511 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 701
- 在线时间
- 511 小时
- 注册时间
- 2012-4-8
- 帖子
- 255
|
end55rpg 发表于 2012-5-12 20:17
终于写好了,刚刚那个错误真的很多= =!现在添家了还原属性,防御和敏捷,灵巧不允许修改= =HP MP ATK都OK了. ...
非常感谢你的尽力帮助,但是不知道你的脚本有没有经过测试?从语法上看就有点别扭,比如第20行把end写到最后,有的括号有前面没有后面……这个不要紧,不过……经过测试:
-------------66RPG-------------------
◆ 2012-05-12 22:30:46
错误类型 :
参数错误
错误信息 :
Section092:13:in `pek55rpg'(eval):1:in `[]'wrong number of arguments(0 for 1)
错误可能发生的相关位置 :
Game_Interpreter : 第 1688 行 : command_355
: 第 行
轮回 : 第 12 行 : eval
轮回 : 第 13 行 : pek55rpg
轮回 : 第 12 行 : each
轮回 : 第 12 行 : pek55rpg
轮回 : 第 10 行 : each
轮回 : 第 10 行 : pek55rpg
: 第 行
Game_Interpreter : 第 390 行 : eval
Game_Interpreter : 第 1688 行 : command_355
Game_Interpreter : 第 390 行 : execute_command
Game_Interpreter : 第 136 行 : update
Game_Interpreter : 第 101 行 : loop
Game_Interpreter : 第 138 行 : update
生命显示 : 第 60 行 : _update
地图名显示 : 第 244 行 : update
Scene_Base : 第 19 行 : main
Scene_Base : 第 16 行 : loop
Scene_Base : 第 21 行 : main
error(错误提示) : 第 33 行 : run
error(错误提示) : 第 147 行
-------------66RPG-------------------
以上是脚本原封复制,事件调用pek55rpg()的结果
之后我在事件中调用pek55rpg(1),然后:
-------------66RPG-------------------
◆ 2012-05-12 22:32:37
错误类型 :
参数错误
错误信息 :
(eval):1:in `pek55rpg'wrong number of arguments(1 for 0)
错误可能发生的相关位置 :
Game_Interpreter : 第 1688 行 : command_355
: 第 行
Game_Interpreter : 第 390 行 : eval
Game_Interpreter : 第 1688 行 : command_355
Game_Interpreter : 第 390 行 : execute_command
Game_Interpreter : 第 136 行 : update
Game_Interpreter : 第 101 行 : loop
Game_Interpreter : 第 138 行 : update
生命显示 : 第 60 行 : _update
地图名显示 : 第 244 行 : update
Scene_Base : 第 19 行 : main
Scene_Base : 第 16 行 : loop
Scene_Base : 第 21 行 : main
error(错误提示) : 第 33 行 : run
error(错误提示) : 第 147 行
-------------66RPG-------------------
|
|