Yanfly Learn Skill System Learn Show

Hi, guys. I just want to ask how to show a skill in the learn skill menu even when its requirements aren't met yet. I know its in the help thingy under the lunatic section but I just don't know how to properly use it.

And sorry if someone had already posted a thread asking about this, but I couldn't find any though. Hope you guys could help. 🙂
Hi, guys. I just want to ask how to show a skill in the learn skill menu even when its requirements aren't met yet. I know its in the help thingy under the lunatic section but I just don't know how to properly use it.

And sorry if someone had already posted a thread asking about this, but I couldn't find any though. Hope you guys could help. 🙂
Use this to show the skill:

<Learn Show Eval>

value = true;

</Learn Show Eval>
That did it, but for some reason it's now ignoring the level requirement of the skill. Is there a way that I can make it visible but is greyed out until the required level is met?

Thank you btw 🙂
That did it, but for some reason it's now ignoring the level requirement of the skill. Is there a way that I can make it visible but is greyed out until the required level is met?

Thank you btw 🙂
I've testet it with a skill that requires level 10. My actor was level 1 and had enough gold to learn that skill.

70497a5858.jpg


I used this:

<Learn Show Eval>value = true;</Learn Show Eval><Learn Require Eval>if(this._actor.level < 10) {value = false;}</Learn Require Eval>There is no need for the <Learn Require Level> tag if you use the <Learn Require Eval> tag.
It worked! Thanks a lot 😀

Last question, what if like the skill has a required learned skill? For example, the player has met the required level for Fire II, but hasn't learned Fire I yet. So it wouldn't be available to learn still.

So sorry if I'm already asking too many questions now, but I appreciate your help 🙂
It worked! Thanks a lot 😀

Last question, what if like the skill has a required learned skill? For example, the player has met the required level for Fire II, but hasn't learned Fire I yet. So it wouldn't be available to learn still.

So sorry if I'm already asking too many questions now, but I appreciate your help 🙂
You can check as many requirements as you want.

So you can use this if-statement instead to check for the required level and the required skill

if(this._actor.level < 10 || !this._actor.isLearnedSkill(9)) {value = false;}Now value gets set to false if the character is either below level 10 or doesn't have the required skill (9 is the ID of Fire from the default database. Change the number to whatever ID the required skill has).
Works perfectly! Thanks for the help. 😀

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-learn-skill-system-learn-show.52278/