Use items to increase weapon stats?

Hey all,


Just curious if this is possible: Using an item (a consumable in this case) to increase the currently equipped weapon's attack and defense by 2? or an armor's stats for that matter? I've searched the forums and haven't found anything to do this. Thanks!
only if you exchange the weapon - have the item call a common event that removed the old and adds an improved weapon from the database.
I was able to do something like this with Yanfly's scripts in ACE, as Yanfly has a script that allowed weapons/armor to add the contents of a variable to the base stats. No idea if that same script has been replicated in MV though. However, you'll need 8 variable for every single weapon/armor if you did this for everything (as the variables have to be unique for each weapon).


You *might* be able to do it now in MV with Yanfly's Self variable's plug-in + some modifications of the plug-ins to add the results of the self variable to the weapon (and armor's) stats. But you'd need to modify everything that uses the stats to show the correct stats too. So you're looking at a complicated modification to the base engine at minimum, which means Andar's suggestion is really the best.


(And also, this is why I scrapped that idea from my project. Was too much work for such a little gain in features).

Original thread: https://forums.rpgmakerweb.com/threads/use-items-to-increase-weapon-stats.66731/