Yanfly Bug (not sure which version)[Solved on its own]

Joined
Apr 1, 2013
Messages
17
Reaction score
3
First Language
English
Primarily Uses
Edit: I had somehow left StateId in the add.state() function while defining it. It's such a simple mistake that I can't believe I made it.

While attempting to make a Dualcast/Triplecast replacement for my game using Action Begin/End effects, Buff/State Core's Lunatic Mode and Instant Casts, I noticed a bizarre bug. When I attempted the Dualcast, I received this strange error:

TypeError: require(...).Window.get(...).isDevToolsOpen is not a function at Object.Yanfly.Util.displayError (YEP_CommonEventMenu.js:1290) at Game_Actor.Game_Battler.customEffectEval (YEP_BuffsStatesCore.js:1376) at Game_Actor.Game_Battler.removeStateEffects (YEP_BuffsStatesCore.js:1407) at Game_Actor.Game_Battler.removeState (YEP_BuffsStatesCore.js:1401) at Game_Actor.Game_Battler.removeState (YEP_X_VisualStateFX.js:308) at Game_Actor.Game_Battler.removeState (YEP_AutoPassiveStates.js:551) at Game_Actor.removeState (YEP_EquipBattleSkills.js:756) at eval (eval at Game_Action.processLunaticBeginEndActionEval (YEP_Z_ActionBeginEnd.js:500), <anonymous>:83:10) at Game_Action.processLunaticBeginEndActionEval (YEP_Z_ActionBeginEnd.js:500) at Game_Action.processLunaticBeginEndActions (YEP_Z_ActionBeginEnd.js:468) Yanfly.Util.displayError @ YEP_CommonEventMenu.js:1288 rpg_managers.js:1949 TypeError: require(...).Window.get(...).isDevToolsOpen is not a function at Object.Yanfly.Util.displayError (YEP_CommonEventMenu.js:1290) at Game_Action.processLunaticBeginEndActionEval (YEP_Z_ActionBeginEnd.js:502) at Game_Action.processLunaticBeginEndActions (YEP_Z_ActionBeginEnd.js:468) at Game_Actor.Game_Battler.processLunaticBeginEndAction (YEP_Z_ActionBeginEnd.js:413) at Game_Actor.Game_Battler.performActionEnd (YEP_Z_ActionBeginEnd.js:401) at Game_Actor.Game_Battler.performActionEnd (YEP_DamageCore.js:1223) at Game_Actor.performActionEnd (rpg_objects.js:4024) at Window_BattleLog.performActionEnd (rpg_windows.js:4913) at Function.BattleManager.actionPerformFinish (YEP_BattleEngineCore.js:2833) at Function.BattleManager.actionPerformFinish (YEP_X_ActSeqPack3.js:482)</anonymous>



This is the notetags for the states (for the Tricast, which would transform into Dualcast and then a cancel state):


<Custom Remove Effect>

target.addState(state12);

</Custom Remove Effect>

<Instant Skill: 8 to 10>

And these are for the Skills to remove the effects:

<End Action: Remove State 11>

<End Action: Remove State 12>

<End Action: Remove State 13>
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top