Fan723 发表于 2019-3-22 22:14 真的可以啊!!谢谢大佬~!! |
你重写的方法缺少创建角色选择窗口 Scene_Item.prototype.create = function() { Scene_ItemBase.prototype.create.call(this); this.createHelpWindow(); this.createCategoryWindow(); this.createItemWindow(); this.createActorWindow(); //这句被你删除了,但是你没有删除对 this._actorWindow 的调用 }; |
river123 发表于 2019-3-22 17:44 大佬有空帮忙修改一下吗~~~这个问题已经超出能力范围了 |
yang1zhi 发表于 2019-3-22 16:35 问题有点多。。。没有办法解决 TypeError: Cannot read property 'refresh' of undefined at Scene_ItemBase.useItem (rpg_scenes.js:1165) at Scene_Item.useItem (rpg_scenes.js:1291) at Scene_ItemBase.determineItem (rpg_scenes.js:1154) at Scene_Item.onItemOk (rpg_scenes.js:1278) at Window_ItemList.Window_Selectable.callHandler (rpg_windows.js:902) at Window_ItemList.Window_Selectable.callOkHandler (rpg_windows.js:1171) at Window_ItemList.Window_Selectable.processOk (rpg_windows.js:1156) at Window_ItemList.Window_Selectable.onTouch (rpg_windows.js:1086) at Window_ItemList.Window_Selectable.processTouch (rpg_windows.js:1054) at Window_ItemList.Window_Selectable.update (rpg_windows.js:986) |
这个提示是说 refresh这个函数没有定义 你按F12 在console里面可以看到,具体是哪一个JS的哪一行出错 |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-1-11 12:00
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.