@Yanfly, thanks for your amazing scripts, I've been having some problems with my code/Skill Learn System plugin. Can you take a look at it on the previous page and help me out? I haven't had much luck with it. Thanks!
Sorry, but this thread is only for support for code that I've personally provided. Lunatic Mode that isn't provided by me won't be supported by me either as per the post on the front page:
NOTE: I'll only provide support for my own plugins and code that I, myself, have provided. This isn't because I disrespect other plugin makers or anything of the sort. If I did, I wouldn't go so far as to maximize compatibility with my plugins when possible. The reason behind is because of my lack of time, and I'd like to put my undivided attention to errors caused by my own plugins. That said, any modifications you've made to the plugins itself, any custom Lunatic Mode code you've made yourself that isn't provided by me, or problems with the source code will not be supported by me either.
NOTE2: As I've stated before in the previous note, I'll only provide support for my own codes that I, myself, have provided. To make this clear, this means strictly the plugins I've made and any code for Lunatic Mode that I, personally, have provided through Tips & Tricks. I am not responsible for any coding errors, coding roadblocks, or code questions that you come across within your own Lunatic Mode code. Unless the Lunatic Mode notetag itself has a bug,
you are to ask your questions here.
---
Hello Yanfly. In the AI Core plugin, if you use Highest TP for targeting, the game crashes. Seems to be an out of bounds
TypeError: Cannot read property '6' of undefined
at Game_Actor.paramBase (rpg_objects.js:3832)
at Game_Actor.paramBase (YEP_CoreEngine.js:1096)
at Game_Actor.Game_BattlerBase.param (rpg_objects.js:2441)
at Function.AIManager.setHighestParamTarget (YEP_BattleAICore.js:990)
at Function.AIManager.setProperTarget (YEP_BattleAICore.js:824)
at Function.AIManager.conditionAlways (YEP_BattleAICore.js:1160)
at Function.AIManager.passAIConditions (YEP_BattleAICore.js:1092)
at Function.AIManager.isDecidedActionAI (YEP_BattleAICore.js:748)
at Game_Enemy.setAIPattern (YEP_BattleAICore.js:586)
at Game_Enemy.makeActions (YEP_BattleAICore.js:567)
Example:
<AI Priority>
Always: AISkill, Highest TP
</AI Priority>
Thanks for the catch, Dream! I'll get this fixed by tonight.
---
Thank you for the update, Yanfly! Now my character correctly starts the game with 0 EXP when using Class Base Paramters to set the EXP curve.
However, I still have a problem. Or maybe I just misunderstand the functionality of the plugin?
I'm still using this formula:
<Custom Class Parameters>
exp = level * 5 + 15;
</Custom Class Parameters>
The first level up correctly requires 20 EXP. However, every level up after that just seems to require 5 EXP! Is my formula wrong or is there still a bug in the plug-in?
Hope I can help. Thank you so much for all your awesome plug-ins!
That's your formula's issue. All formulas follow the arithmetic rule of PEDMAS.