设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 3138|回复: 1
打印 上一主题 下一主题

[已经解决] YEP battle插件:TypeError:Undefined is not a function

[复制链接]

Lv2.观梦者

梦石
0
星屑
630
在线时间
89 小时
注册时间
2016-6-21
帖子
32
跳转到指定楼层
1
发表于 2016-9-27 14:19:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
本帖最后由 jack2396 于 2016-9-28 17:53 编辑

在戰鬥的時候施放技能會跑出TypeError:Undefined is not a function
使用的插件有:
YEP_BattleAICore
YEP_BattleEngineCore
YEP_TargetCore
YEP_SkillCore
YEP_Skillcooldowns
YEP_AnimatedSVEnemies
FloatHelp

BattleEngineCore修改後,刪了4606行才能正常運作,但在指定技能施放對象會有問題。
    this._helpWindow.setBattler(this.enemy());

不刪的話施放技能會跑出TypeError:Undefined is not a function
錯誤報告:
TypeError: undefined is not a function
    at Window_BattleEnemy.updateHelp (YEP_BattleEngineCore.js:4606)
    at Window_BattleEnemy.Window_Selectable.callUpdateHelp (rpg_windows.js:1227)
    at Window_BattleEnemy.Window_Selectable.select (rpg_windows.js:791)
    at Window_BattleEnemy.select (rpg_windows.js:5641)
    at Window_BattleEnemy.Window_Selectable.reselect (rpg_windows.js:799)
    at Window_BattleEnemy.Window_Selectable.activate (rpg_windows.js:778)
    at Scene_Battle.selectEnemySelection (rpg_scenes.js:2336)
    at Scene_Battle.selectEnemySelection (YEP_BattleEngineCore.js:4283)
    at Scene_Battle.commandAttack (rpg_scenes.js:2271)
    at Window_ActorCommand.Window_Selectable.callHandler (rpg_windows.js:896)rpg_managers.js:1618 SceneManager.catchExceptionrpg_managers.js:1579 SceneManager.update

Lv2.观梦者

梦石
0
星屑
630
在线时间
89 小时
注册时间
2016-6-21
帖子
32
2
 楼主| 发表于 2016-9-28 17:37:18 | 只看该作者
頂個,訊息的問題解決了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-29 21:48

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表