Changing the abilities of an item after an event is activated

I want there to be an item - that every time it's used, it gets better and the price is getting higher.
I thought of calling a common event when the item is bought\absorbed, and the common event will increase the HP it recovers (or whatever else) at the same amount each time.

How do I do it? Is there a script for it or is it possible to be made in vanila? (Any help will be interesting on this one, that's for sure..)
Depending on how many versions of this item you need, you could just create multiple items with the same name and different stats, and each time you want it to improve, remove the correct number of the old item and add the same number of the new.

Or if it's only two versions, you could use a switch, turning it on when you want the item to improve, then use the switch as part of the damage formula of the item. Or again if you have several versions, use a variable instead, incrementing it each time the item improves, and use the variable as part of the damage formula.
Himeworks also has a plugin for having conditional traits on things, if memory serves.
Depending on how many versions of this item you need, you could just create multiple items with the same name and different stats, and each time you want it to improve, remove the correct number of the old item and add the same number of the new.

Or if it's only two versions, you could use a switch, turning it on when you want the item to improve, then use the switch as part of the damage formula of the item. Or again if you have several versions, use a variable instead, incrementing it each time the item improves, and use the variable as part of the damage formula.

Thank you! The Variable in damage formula was exactly what I needed. Issure solved.
just report your first post and let the mods know your question is answered, and they'll close the thread for you 🙂

Original thread: https://forums.rpgmakerweb.com/threads/changing-the-abilities-of-an-item-after-an-event-is-activated.119032/