I'm utilizing
Yanfly's Skill Learn System script. I'm then also using
Moogle X's Passive Skill script. What I've set up is, essentially, a system where the player spends "skill points" (or Job Points, if you're familiar) to invest in increasing their stats via Passive Skills. The player can "learn" passive skills which are basically just things like ATK +5 or Critical Hit Rate +2%, or what have you.
This is all fine and good and the two plugins work wonderfully. However, some stats do not behave as intended. Specifically, when it comes to SP Parameters. If I have a stat that increases PHArmacy, which is an SP Parameter, then it's all multiplicative, meaning if I wanted Pharmacy Boost I to be +10% (110% in the formula) PHA boost for the actor, and then Pharmacy Boost II to be another +10% (110% in the formula) PHA boost for the actor, then instead of the actor having a +20% boost when they have Pharmacy Boost I and Pharmacy Boost II, it ends up being 110% * 110%, which, of course, is not quite... correct.
The best solution I've found is to make it so when the player learns Pharmacy Boost II, they unlearn Pharmacy Boost I, and just make it so Pharmacy Boost II is +20% (120% in the formula). However, I cannot seem to find a reliable method of making this happen. I spoke with Yanfly and was rightfully pointed to ask of this as a more general request, as he does not have the time to try and accommodate such an inarguably niche concept.
At the end, it seemed some kind of way to have the actor forget a skill through the skill note tag box would be the most reasonable execution.
I, however, confess that the more I think about it, the more it sounds like some kind of infinite loop would go on where the actor continuously forgets the skill and ultimately bogs down the game, so if there's any kind of alternative, I'd be very open to it.