MV Yep Skill Learn System and Class Change Core/Subclass

Hello everyone!

I have the three plugins listed in the title, and I have a bunch of classes, and basically these classes can learn skills but some classes can learn the same skill!

Example: Mage and Zephyrkin can both learn Tornado at level 25.

1724303867508.png

Is there anything in lunatic mode make it so that if the player has Mage class or subclass can Learn Tornado at 25 but Zephyrkin subclass can learn the skill at 15?

I don't know if this would help but Mage is class 3 and Zephyrkin is class 24 as in this screenshot below

1724303932488.png

Thank you for your time!

Rift Haven
Per the section guidelines, please provide links to the plugins you're asking for help with.

Is there anything in lunatic mode make it so that if the player has Mage class or subclass can Learn Tornado at 25 but Zephyrkin subclass can learn the skill at 15?
Absolutely - there's a whole section in the documentation for the Skill Learn plugin for "Custom Requirements and Costs."

Give the skill this notetag:
Code:
<Learn Require Eval>
// Mage levels
if ((user.currentClass().id == 3 || user._subclassId == 3) && user.classLevel(3) >= 25)
    value = true;

// Zephyrkin level
else if (user._subclassId == 24 && user.classLevel(24) >= 15)
    value = true;
</Learn Require Eval>
No
If I remember correctly the full explanation is on the website for the class plugin, but unfortunately not in the help for that plugin.
but basically for correct function the classes need to have different skills as in different types of skill, or they learn everything.
you could work with two skills of the same name but of different skill types however.
Per the section guidelines, please provide links to the plugins you're asking for help with.


Absolutely - there's a whole section in the documentation for the Skill Learn plugin for "Custom Requirements and Costs."

Give the skill this notetag:
Code:
<Learn Require Eval>
// Mage levels
if ((user.currentClass().id == 3 || user._subclassId == 3) && user.classLevel(3) >= 25)
    value = true;

// Zephyrkin level
else if (user._subclassId == 24 && user.classLevel(24) >= 15)
    value = true;
</Learn Require Eval>
I did try this but it seems to just take away the level requirement so both of them can learn Tornado at level 1, I tried to also add back the <Learn Require Level: 25> to see if that would make anything work and it just seems to relock it to 25 regardless of the class/subclass.
No
If I remember correctly the full explanation is on the website for the class plugin, but unfortunately not in the help for that plugin.
but basically for correct function the classes need to have different skills as in different types of skill, or they learn everything.
you could work with two skills of the same name but of different skill types however.
I was looking into doing this with Skill Core <Hide if Learned Skill: x, x, x> and SRDude's Skill Extender to make it cleaner since those 2 are in my game, but both skills still show despite me putting the category skill and the actual skill in the note tag
Oh. value doesn't start as false...that's kinda dumb 😛 So just change it to this:

Code:
<Learn Require Eval>
// Mage levels
if ((user.currentClass().id == 3 || user._subclassId == 3) && user.classLevel(3) >= 25)
    value = true;

// Zephyrkin level
else if (user._subclassId == 24 && user.classLevel(24) >= 15)
    value = true;

else
    value = false;
</Learn Require Eval>
Oh. value doesn't start as false...that's kinda dumb 😛 So just change it to this:

Code:
<Learn Require Eval>
// Mage levels
if ((user.currentClass().id == 3 || user._subclassId == 3) && user.classLevel(3) >= 25)
    value = true;

// Zephyrkin level
else if (user._subclassId == 24 && user.classLevel(24) >= 15)
    value = true;

else
    value = false;
</Learn Require Eval>

So at first this was not working, because of the way I it working it would show for either of the classes at level 1 and so on, but I added this underneath your code and now it works as intended!

Code:
<Learn Show Eval>
// Mage levels
if ((user.currentClass().id == 3 || user._subclassId == 3) && user.classLevel(3) >= 25)
    value = true;

// Zephyrkin level
else if (user._subclassId == 24 && user.classLevel(24) >= 15)
    value = true;

else
    value = false;

</Learn Show Eval>

So now if The character hits level 25 in Mage, Tornado will show under both classes to learn, and if the character hits 15 in Zephyrkin it will also show!


THANK YOU SO MUCH @ATT_Turan !
So at first this was not working, because of the way I it working it would show for either of the classes at level 1
Oh, I didn't see that as a part of your question. It would've shown, but it should have been greyed out, unable to be learned.

Yes, copying the same thing into a Show Eval would make it not shown until they can learn it.
Oh, I didn't see that as a part of your question. It would've shown, but it should have been greyed out, unable to be learned.

Yes, copying the same thing into a Show Eval would make it not shown until they can learn it.
Technically I did not specify that one! So it was my fault I apologize 🙂

Original thread: https://forums.rpgmakerweb.com/threads/yep-skill-learn-system-and-class-change-core-subclass.171309/