Hey guys,
I know nothing in javascript, and I have a little question about how to achieve simple functions with the <Learn Cost Eval> function included in Yanfly's new plugin:
<Learn Cost Eval>
code
code
</Learn Cost Eval>
For those who know JavaScript, you can have custom actions be performed
after learning the skill through the learn skill menu.
So, basically, what I would like to do is make a specific class forget a specific skill after learning another skill.
Also, I would like to trigger a switch to on after learning the skill.
Thanks!
Good find Fernyfer 🙂
Well, to avoid the problem of having the old skill remain in the skill list, we could open a switch at the start of the game that allows the basic skill to be learned, and once you learn the advance skill, you close that switch. With the proper notetag, that would prevent that skill from being shown in the list at all. So all we have to do is add another line to the code to flip off the switch.
That shouldn't be too complicated. I'll give it a look tonight!
Awesome Fernyfer! I'll try this tonight! Thanks 🙂
thanks Fernyfer775 ! your a god! 😛
also thanks for the help Maxlionheart !
I found a problem.If your skills setting for one actor can use this method.However if your skill setting for more than one actor(Such as magic skill that many want to learn)you will meet problem that when one has learned others will meet the max level skill.
Is it possible to make the Skill you can learn to "disable" but already visibile in the list?
I wanna show the player which skill he can learn with later levels already and what level he needs to be able to learn the skill.
The script itself is working splendid and I love it. I just try to figure out myself a bit too (not knowledge with JS xD) how to edit it.
Thanks in advance if anyone can help. 😀
Thank you so much for the fast help!. Yes. It works and like I wanted.
I only needed the Learn Require Eval code. thanks a lot 😀 😀
Hi, I didn't want to start a new thread since I had a question regarding this plugin. Just not too sure of the terminology I should be using if I want a skill to be learn-able only if skill x is learned and skill y has NOT been learned. Thanks
<Learn Require Eval>
value = true;
value = false;
</Learn Require Eval>