Specific Stat Bonus in a Class System

Very Short Version; I want the Subclass to give specific % of certain stats to the Primary Class. Possibly through Common Events and by using the Scripts shown in this post.

Hi, I'm using Yanfly's Class System, and as much as it offers bonus stats when you equip a subclass, it doesn't do it the way I want it to.

What I want is the Subclass to give a certain percentage of certains stats as bonus when equiped. For example, I'd want the Mage class to give 75% of its MAT and 30% of its MP as bonus stats to the Primary Class.

But instead, with the Subclass Stat Rate, as it is, it only give the same percentage of all the class' stats as a bonus. But with the help of GaryCXJk's Class Extensions Add-on, I can change the way stats are given. But it still doesn't do it like I'd want it to.

In the project I'm working on, the characters are free to change classes however they want and use any of the unused class they have as a Subclass. Also, it's important to say that the Classes do not gain any stats other than HP and MP when they level up. Everything other than HP & MP are Static Stats and will only increase with equipments.

I could easily give bonus stats from ATK to LUK to the Primary Class, since they're static. But adding a bonus of HP or MP is hard, because it would need to be a percentage if I want the bonus to still be relevant past the low levels.

I can't use the "Features" window to give Percentage bonus either. Because it will screw up the base stats of the Class if it was to be Primary. For example; Berserker would give a bonus of 40% HP, if I was to put it as "140% MHP" it would boost the Berserker's HP stats, and I don't want that. And if it was to be equiped as a Subclass, the Mage would gain 40% of its HP as a bonus, and I don't want that either.

I did find a script that lets me give Static Parameter stats in the Class' Notetags. Prexus' Static Parameter Changes does that. Only problem is, it won't give percentage bonus. But if I was to be able to add percentage bonus with that too, it would be the same as putting a Feature that gives 40% HP.

Is there a way to do that?
For example;
Primary Class = Knight
Subclass = Magician
Bonus = +30% MMP, +75% MAT

Those percentages are from the Mage Class. So it should take 30% MMP & 75% MAT from the Mage to give to the Knight as bonus. Instead of boosting the Knight's MMP by 30% and MAT by 75%.

I hope my explanations are not too confusing.
The way RPG Maker engine is built, normally there is ONLY the parameters of your current class. Making something that could keep track of what your stats WOULD be as another class, while currently being another class, already seems extremely complex and I don't even think would be possible to the point where the whole parameter system would need a complete overhaul. Normally when class-changing, your parameters are resetted to be based on the new class's curves at the level the class is, + any features/equips/etc.

I think the closest work-around would be a passive-state skill that your Mage can learn, and then have that apply to the Main class since the script allows for skill-type combinations, but have it modified so only specific skill IDs are combined (these passives)

The three scripts you'd want to look into to achieve this would be:

1) Any passive-state script of choice

2) Tsukihime's Add Parameter Feature (to use on the passive state to achieve [add a.mmp * 0.30] and [add a.mat * 0.75]  However these will be based off the Main class but it's the closest you can get.

3) A modification of Yanfly Subclass System so only specific subclass skill IDs are carried over.
Thank you c:

I forgot to edit my post earlier, but my issue has been fixed. GaryCXJk was kind enough to modify his script to allow these kind of changes.

Thank you though C:
Moved to script support and closed.

Original thread: https://forums.rpgmakerweb.com/threads/specific-stat-bonus-in-a-class-system.19253/