MZ WAY_CustomOnEquipEval issue when switching weapons/classes

For the record, I'm using the FOSSIL Plugin.

There's a major issue that I have whenever I'm using WAY_CustomOnEquipEval. Say for example, I equip a weapon that allows me to use Class 1 and its skills. However, when I decide to equip Class 2, the skills for Class 1 then merge with Class 2, and this issue continues with every other class switch.

1.png


2.png

Screenshot 2025-09-02 110528.png
Screenshot 2025-09-02 110715.png
Screenshot 2025-09-02 110759.png
Screenshot 2025-09-02 110931.png


The notetags for the Wooden Staff and Stone Fail are as follows

Wooden Staff:
==========

<Custom On Equip Eval>

a.changeClass(2,true)

</Custom On Equip Eval>

<Custom On Remove Equip Eval>

a.changeClass(15,true)

</Custom On Remove Equip Eval>

Stone Flail:
========

<Custom On Equip Eval>

a.changeClass(4,true)

</Custom On Equip Eval>

<Custom On Remove Equip Eval>

a.changeClass(15,true)

</Custom On Remove Equip Eval>

=========================================================

Is thus how the plugin naturally works or am I formatting something incorrectly?
Is thus how the plugin naturally works or am I formatting something incorrectly?
pretty sure thats just the base engine. I dont think it clears learned skills on class change. try adding a.initSkills()after your class change lines
pretty sure thats just the base engine. I dont think it clears learned skills on class change. try adding a.initSkills()after your class change lines
It wound up working, thank you!

However, there's now another issue that I found out. Whenever I level up with one class and switch to another class, it gains the exp of the class I previously equipped causing that too, to level up.

would I have to use an initial exp script or something along those lines?
However, there's now another issue that I found out. Whenever I level up with one class and switch to another class, it gains the exp of the class I previously equipped causing that too, to level up.
remove the true from your changeClass call. the point of it is to say that you'd like the actor to retain their exp from the previous class when changing into the new one
remove the true from your changeClass call. the point of it is to say that you'd like the actor to retain their exp from the previous class when changing into the new one
Thank you. It worked. 😅

I don't know if I'm allowed to change the subject matter of a thread, but if so...

Since the classes now retain their own exp, it now causes the game to crash due to clashing with another class-oriented plugin. (Lazi_ClassChange)

Screenshot 2025-09-02 123811.png
Screenshot 2025-09-02 123827.pngScreenshot 2025-09-02 123925.png
I've tried changing some things around in the plugin database, but it hasn't gotten me anywhere.
there seems to be a mistake in the plugin itself. go to line 716 and change it from
Code:
this._level = Lazi.Utils.ClassLevelByExp(_class.classExp);
to
Code:
this._level = Lazi.ClassChange.ClassLevelByExp(_class.classExp);
there seems to be a mistake in the plugin itself. go to line 716 and change it from
Code:
this._level = Lazi.Utils.ClassLevelByExp(_class.classExp);
to
Code:
this._level = Lazi.ClassChange.ClassLevelByExp(_class.classExp);

Oddly enough, it now says the class is Level -1

Screenshot 2025-09-02 132607.png


and when I level up, the class doesn't receive any exp
try this then
Code:
this._level = Lazi.ClassChange.ClassLevelByExp(_class.classID, _class.classExp);
I didnt see how they set up the function, just that thats how they tried to use it before
try this then
Code:
this._level = Lazi.ClassChange.ClassLevelByExp(_class.classID, _class.classExp);
I didnt see how they set up the function, just that thats how they tried to use it before
Thank you.

Thank you SO much.

I cannot tell you how much you've helped with this.

Sorry for bothering you so much :rswt2: but it finally worked out.

Original thread: https://forums.rpgmakerweb.com/threads/way_customonequipeval-issue-when-switching-weapons-classes.179903/