Greetings!
I am looking for a Script that will allow me to randomize weapon stats when they are dropped from battler or found in RMMZ, Yanfly plugins did it for me on MV but it does not seem to be a feature in their MZ package.
The VisuStella library doesn't have this right now because it was decided not to port over independent items. There may be an inventory plugin in the future that adds this back in, but for now it's not supported.
You'd basically need a plugin that creates independent items for this, since changing the stats on a weapon by default will change them for all instances of that weapon.
It's not massively complicated. Basically you need to overwrite the code that adds equipment items to the party's inventory and references them so that it adds a completely new instance of the item object, rather than an additional copy of the item from $dataWeapons, $dataArmors etc. Once it's in its own instance, you'll be able to modify its parameters independently of the data. It's a fair bit of work, but nothing too taxing.
The official plugins are listed in the help file. 🙂