Questions regarding weapon upgrade system with traits.

I'm currently trying to make a simple weapon upgrade mechanic in my game, and I was able to do so via the "Change Equipment" event command and just swap the currently equipped weapon to the upgraded one. 2 questions :

1. Can I simply alter the stats of the weapons via events instead of having to add another "upgraded" weapon with better stats? If yes, how can I do so?
2. Is it possible to apply traits to a weapon via event commands? Say I want this weapon to apply poison after I upgrade it.

If question 2 is not possible I was planning to add traits by adding more weapons with said trait (which is an ugly solution). Any help is greatly appreciated, thanks in advance!
No, the stats for an item are stored in its database entry. You would have to code a workaround, like what Yanfly does with independent items.

Speaking of...have you looked at Yanfly's Item Upgrades? It's a free plugin that already exists so you don't have to create the whole thing. And you should be able to add traits with some JavaScript (you can add them in the Attachable Augments plugin, so it's doable).
Gotcha, thanks for clarifying.

I haven't, actually. I'll be looking at it after this. Truth be told, I was trying work with the innate engine as much as possible, and get everything that won't require a plugin finished first. Then I'd do everything else that would need a plugin.

Thanks for the response!

Original thread: https://forums.rpgmakerweb.com/threads/questions-regarding-weapon-upgrade-system-with-traits.144207/