ページ 11

cannot read property 'isFirstAction' of undefinedの対処法教えてください

Posted: 2022年4月09日(土) 10:58
by YGB
rpgツクールMVでマップ上でスキルを使おうとすると
こんなエラーが出ます。

TypeError: Cannot read property 'isFirstAction' of undefined
at Game_Actor.Game_Battler.skillMpCost (DoubleMagic.js:83)
at Window_SkillList.drawSkillCost (rpg_windows.js:2224)
at Window_SkillList.drawItem (rpg_windows.js:2211)
at Window_SkillList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_SkillList.refresh (rpg_windows.js:2237)
at Window_SkillList.setActor (rpg_windows.js:2141)
at Scene_Skill.refreshActor (rpg_scenes.js:1363)
at Scene_Skill.start (rpg_scenes.js:1322)
at Function.SceneManager.updateScene (rpg_managers.js:2019)
at Function.SceneManager.updateScene (Torigoya_FrameTween.js:363)
SceneManager.catchException @ rpg_managers.js:1949

誰か解決方法を教えてください。

Re: cannot read property 'isFirstAction' of undefinedの対処法教えてください

Posted: 2022年4月09日(土) 15:02
by ムノクラ
YGB さんが書きました:rpgツクールMVでマップ上でスキルを使おうとすると
こんなエラーが出ます。

TypeError: Cannot read property 'isFirstAction' of undefined
at Game_Actor.Game_Battler.skillMpCost (DoubleMagic.js:83)
at Window_SkillList.drawSkillCost (rpg_windows.js:2224)
at Window_SkillList.drawItem (rpg_windows.js:2211)
at Window_SkillList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_SkillList.refresh (rpg_windows.js:2237)
at Window_SkillList.setActor (rpg_windows.js:2141)
at Scene_Skill.refreshActor (rpg_scenes.js:1363)
at Scene_Skill.start (rpg_scenes.js:1322)
at Function.SceneManager.updateScene (rpg_managers.js:2019)
at Function.SceneManager.updateScene (Torigoya_FrameTween.js:363)
SceneManager.catchException @ rpg_managers.js:1949

誰か解決方法を教えてください。
スタックトレースから予想するに下記のプラグインを使用していますか?

▼連続魔法(うなぎおおとろ様作) - DoubleMagic.js
https://plugin.fungamemake.com/archives/23815
一回の行動で連続で魔法を使用できるようになるステートを作成可能にするプラグインです。

こちらをOFFにして実験してみてはいかがでしょうか?