[MZ] Class system based on equipment?

Does anyone know of a possible way to make a character's class dependent on their equipment? what i want to do is basically make it so that if a character has item A equipped it'll different class then when it has Item B equipped. i know its possible to do this with consumable items and whatnot but that doesn't exactly fit what i'm trying to go for, so if anyone has a workaround or a simple script that would be a great help.
you did not said which rpg maker you use... but i assume you use RMVXA based on your primarily uses... so maybe this link could help:
hope this help.
Your profile says you primarily use VX Ace, but you posted in the MZ Support forum. Please state what engine you are using, so we can move this thread to the correct Script/Plugin Requests forum.
Yeah forgot to switch that over. this is a request for MZ, not vx Ace
I'm having the same idea here, too. Not sure how you're going to present your classes, but I simply think to add traits and skills to equipment. With different equipment equipped, my characters get different stats and skills.

However, I haven't really implemented it yet.

Original thread: https://forums.rpgmakerweb.com/threads/mz-class-system-based-on-equipment.132656/