Project1

标题: YEP battle插件:TypeError:Undefined is not a function [打印本页]

作者: jack2396    时间: 2016-9-27 14:19
标题: YEP battle插件:TypeError:Undefined is not a function
本帖最后由 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
作者: jack2396    时间: 2016-9-28 17:37
頂個,訊息的問題解決了




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1