MZ Passive skills based on items quantities?

Hi!
This is my first post in here, despite having been working on a RPG Maker project for almost 4 years now ^^
And, while doing so, I have came across this need : passive skills that get stronger the more of an item the player has.
I am currently using the Fomar0153's Passive skills plugin (alongside many ,many, MANY others, lol) and they work perfectly, just I need to work this thing out.
We can say that, what I am actually looking for, are states' strenght based on items quantity.
This is just one of my questions, since this project of mine is taking a long time to make (random dialogs for people based on anger level is one of those, with 310 actual phrases for a single character).
I am more than willing to share more infos and I am sure I am probably gonna ask a lot more questions in the near future 🙂

P.S. : What I am looking for is a possibly free solution, thanks!
you basically need states with a scaling effect where the scale is determined by a javascript formula.
then you could just enter the correct formula that calculates the effect based on the inventory number.
What you need actually depends, because you didn't tell us what the states do.

But check out Hakuen's Dynamic Parameters, or do a Google for a dynamic traits plugin (there are several).
What you need actually depends, because you didn't tell us what the states do.

But check out Hakuen's Dynamic Parameters, or do a Google for a dynamic traits plugin (there are several).
My idea is of these state increasing the elemental resistance or elemental strenght of certain elements.
Example, the character has equipped the "Poison resistance" passive skill; based on the number of X item present in the inventory, the effect gains 1%.
I have -1 knowledge of javascript so that's out of my possibilities.
thank you for the help tho, wasn't expecting such quick response ^^

Since I am here to learn as well, I have another question :
I have created a charges based combat style for certain characters (normal attacks will gain charges and certain ones are gonna consume some, with these last ones getting avaiable only when the avaiable charges are equal or more than the required number; certain status effects also do make gain charges [Example, if at the end of the turn an enemy or more is affected by X status effect, then you gain X * number of affected enemies charges]).
My question is if there's any way to show a meter with a variable displayed on it? This might be connected to passive skills cause, at least outside of battle, having bars for the resistences may be a cool feature, no?

Original thread: https://forums.rpgmakerweb.com/threads/passive-skills-based-on-items-quantities.161908/