Hi I am making an RPG using RPG maker MZ
Im using FOSSIL to load the plugins from RPG maker MV.
Im using YEP Battle Engine core.js to customize my game.
But when I use a revive spell or item which scope is set to status = "dead"
When I got to use an Item/spell it instantly throws the following error message -
"TypeError
Cannot read property 'isDead' of undefined"
The Dev consol reads -
TypeError: Cannot read property 'isDead' of undefined
at Window_BattleActor.isOkEnabled (YEP_BattleEngineCore.js:4861)
at Window_BattleActor.Window_Selectable.processHandling (rmmz_windows.js:1150)
at Window_BattleActor.Window_Selectable.update (rmmz_windows.js:1116)
at Window_BattleActor.Window_Selectable.update (MOG_MenuCursor.js:670)
at Window_BattleActor.Window_BattleStatus.update (YEP_BattleEngineCore.js:5323)
at WindowLayer.update (rmmz_core.js:4202)
at Scene_Battle.Scene_Base.updateChildren (rmmz_scenes.js:129)
at Scene_Battle.Scene_Base.updateChildren (MOG_MenuCursor.js:658)
at Scene_Battle.Scene_Base.update (rmmz_scenes.js:52)
at Scene_Battle.Scene_Base.update (MOG_MenuCursor.js:646)
just pulling up one of those sources it looks like this -
Window_BattleActor.prototype.isOkEnabled = function() {
if (this._selectDead) return this.actor().isDead();
return Window_Selectable.prototype.isOkEnabled.call(this);
------------------------------------------------------------------
I'm not an expret at coding so im unsure what needs to be done to fix this, but any suggestions as to why this error is happening and how It can be fixed. I'm guessing there is compatibility issues with FOSSIL and this plugin with the definition of "isDead" but what sort of work around can I do, without pulling FOSSIL or YEP battle engine as they are big parts of the game.
thanks
Im using FOSSIL to load the plugins from RPG maker MV.
Im using YEP Battle Engine core.js to customize my game.
But when I use a revive spell or item which scope is set to status = "dead"
When I got to use an Item/spell it instantly throws the following error message -
"TypeError
Cannot read property 'isDead' of undefined"
The Dev consol reads -
TypeError: Cannot read property 'isDead' of undefined
at Window_BattleActor.isOkEnabled (YEP_BattleEngineCore.js:4861)
at Window_BattleActor.Window_Selectable.processHandling (rmmz_windows.js:1150)
at Window_BattleActor.Window_Selectable.update (rmmz_windows.js:1116)
at Window_BattleActor.Window_Selectable.update (MOG_MenuCursor.js:670)
at Window_BattleActor.Window_BattleStatus.update (YEP_BattleEngineCore.js:5323)
at WindowLayer.update (rmmz_core.js:4202)
at Scene_Battle.Scene_Base.updateChildren (rmmz_scenes.js:129)
at Scene_Battle.Scene_Base.updateChildren (MOG_MenuCursor.js:658)
at Scene_Battle.Scene_Base.update (rmmz_scenes.js:52)
at Scene_Battle.Scene_Base.update (MOG_MenuCursor.js:646)
just pulling up one of those sources it looks like this -
Window_BattleActor.prototype.isOkEnabled = function() {
if (this._selectDead) return this.actor().isDead();
return Window_Selectable.prototype.isOkEnabled.call(this);
------------------------------------------------------------------
I'm not an expret at coding so im unsure what needs to be done to fix this, but any suggestions as to why this error is happening and how It can be fixed. I'm guessing there is compatibility issues with FOSSIL and this plugin with the definition of "isDead" but what sort of work around can I do, without pulling FOSSIL or YEP battle engine as they are big parts of the game.
thanks