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

返信する
YGB
記事: 1
登録日時: 2022年1月25日(火) 21:45

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

投稿記事 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

誰か解決方法を教えてください。
アバター
ムノクラ
記事: 2118
登録日時: 2018年2月23日(金) 11:41
連絡する:

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

投稿記事 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にして実験してみてはいかがでしょうか?
---
JavaScriptの基本を学習せずにツクールのプラグインやスクリプトを使って横着してゲームを作ろうとしている人間です。
そのような者なので、適当な投稿をするかも知れません。
他の方の投稿を信用してください。
返信する

“MV:質問”に戻る