プラグインの競合問題

返信する
kenkenpa
記事: 1
登録日時: 2017年10月09日(月) 18:22

プラグインの競合問題

投稿記事 by kenkenpa »

はじめまして。トピックを立てるのは初めてなので、
うまく説明できるかどうか分かりませんが、よろしくお願いします。

内容ですが、件名の通りで、自分はプラグインに関しては、ほぼ無知なので
どうにか解決できないかと悩んでおりました。

競合対象は、ひきもき様のカードバトルプラグインと、kamesoft様のマテリアシステムです。

エラーを吐くタイミングは、マテリアを所持している状態で、カードのデッキを編集する時です。

エラーメッセージは 「Cannot read property 'cardCost' of undefined」です。

スタックとレースは

TypeError: Cannot read property 'cardCost' of undefined
 at Window_DeckEditItem.includes
(file:///C:/Users/xxx/Desktop/project2/js/plugins/TMcard.js:2341:18)
at Window_DeckEditItem.<anonymous>
(file:///C:/Users/xxx/Desktop/project2/js/plugins/KMS_AbilityOrb.js:2463:21)
at Array.filter (native)
at Window_DeckEditItem.Window_ItemList.makeItemList
(file:///C:/Users/xxx/Desktop/project2/js/plugins/KMS_AbilityOrb.js:2461:41)
at Window_DeckEditItem.Window_ItemList.refresh
(file:///C:/Users/xxx/Desktop/project2/js/rpg windows.js:2008:10
at Window_DeckEditItem.setSlotId
(file:///C:/Users/xxx/Desktop/project2/js/plugins/TMcard.js:2227:44)
at file:///C:/Users/xxx/Desktop/project2/js/rpg core.js:6525:19
at Array.forEach (native)
at WindowLayer.update (file:///C:/Users/xxx/Desktop/project2/js/rpg core.js:6523:19)
SceneManager.catchException                      rpg managers.js:1756

要望は、この2つのプラグインを両方使いたいだけです。
よろしくお願いします。
返信する

“MV:質問”に戻る