Yanfly Class Change Core Problem

Hiya! So, I have this problem with Yanfly's Class Change Core that when I put the proper notetag in the actor box for the player to have a class unlocked by default, it gives me the skills of that class on top of the skills of the current class, even though I haven't selected that class yet. 


I've attached screenshots of my actor's notebox and of the issue itself. (The only skill my actor should have by default would be the Thunder skill)


Any help at all would be much appreciated~

Spoiler
Spoiler





screenshot1 (2).png


screenshot2 (2).png



Edit: Oopsies,  I put this in the wrong section 🙁  My bad! Could a mod please move it or something? And my deepest apologies...I'm new here and still figuring things out XD
Hello!


Normally i provide my answers in a check-list so you can go through them one by one easily. I hope you dont mind.


- When you unlocked a class for an actor, all level 1 skills will be learnt by default. If you want classes to have unique skills for themselves, you will need to either create multiple skill types or use lunatic mode - for example, custom skill show tag.


- Did you load from a save file? If your actor has learned a skill, what they have learnt will be saved even if you modified the database/plug-ins.


- Do you have any conflicting plug-ins that might modify skills learnt?


List can be longer, but these 3 will be a good start.


Hope that helps!


- Rifd
Hello!


Normally i provide my answers in a check-list so you can go through them one by one easily. I hope you dont mind.


- When you unlocked a class for an actor, all level 1 skills will be learnt by default. If you want classes to have unique skills for themselves, you will need to either create multiple skill types or use lunatic mode - for example, custom skill show tag.


- Did you load from a save file? If your actor has learned a skill, what they have learnt will be saved even if you modified the database/plug-ins.


- Do you have any conflicting plug-ins that might modify skills learnt?


List can be longer, but these 3 will be a good start.


Hope that helps!


- Rifd

No, I didn't load from a save file, and I really don't want to have to use different skill types. 🙁 That's really annoying. I already checked for conflicting plugins, and there are none. And I can't use lunatic mode because I know absolutely nothing about coding...is there anything else I could do? 
Are these skills learnable by other classes unlocked by this actor?
Are these skills learnable by other classes unlocked by this actor?

Yes. That's what's creating the problem, I think. But I dunno how to fix it. 🙁
Like i mentioned earlier. If the skills are learnable at level 1, and your actor unlocked those classes already, she will be able to access those skills even in other classes.


Also, your actor saves whatever skills she learnt from any classes. So she can access any learnt skills regardless class she is in, as long as she can use that skilltype.


You really have to use Lunatic Mode if you dont wanna create unique skilltypes.
Like i mentioned earlier. If the skills are learnable at level 1, and your actor unlocked those classes already, she will be able to access those skills even in other classes.


Also, your actor saves whatever skills she learnt from any classes. So she can access any learnt skills regardless class she is in, as long as she can use that skilltype.


You really have to use Lunatic Mode if you dont wanna create unique skilltypes.

Oh, right. That really bites. :/ Is there anyone that could help me figure out how to use Lunatic Mode?
Oh, right. That really bites. :/ Is there anyone that could help me figure out how to use Lunatic Mode?



Here's an example you can use:


<Custom Show Eval>
if (user._classId === 2) { visible = true; }
else { visible = false; }
</Custom Show Eval>


Just change the class id to the id of the class the skill is intended for. This will make the skill with this notetag visible and usable only by the defined class. Be sure to have Yanfly's Skill Core for this work.


Hope that helps!


- Riff
I'll try that! Thanks so much 😀


Edit: Could I change that to actorId instead of classId? Just wondering 🙂
I'm not sure what's the exact function name, but you can try. I think it should exist too: actorId. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-class-change-core-problem.56057/