MV YEP Skill Learn System -

Hi,

For YEP Skill Learn System in MV, I want to show learnable skills on an actor based if either one of other skills are known.


There's a section for skills notes:

<Learn Require Skill: x>
<Learn Require Skill: x, x, x>
<Learn Require Skill: x to y>
In order for the skill to appear, the actor must know the other skill(s)
of x. If x to y is used, the actor must know all the skills from x to y.
Replace x and/or y with skill ID's.


How would I go about in to make

<Learn Require Skill: x OR x OR x OR...>
and
<Learn Require Skill: ANY ONE WITHIN x to y>


I've attached the script.
For OR statements use || in between arguments and replace x, y, etc with skill IDs

<Learn Require Eval>
if (user.isLearnedSkill(X) || user.isLearnedSkill(Y))
{ value = true;
} else {
value = false;
}
</Learn Require Eval>
Really appreciated, JGreene . Thank you.

I used the following:

<Learn Show Eval>
if (user.isLearnedSkill(X) || user.isLearnedSkill(Y))
{ value = true;
} else {
value = false;
}
</Learn Show Eval>
No problem. Happy to help!

Original thread: https://forums.rpgmakerweb.com/threads/yep-skill-learn-system.127200/