Armor upgrade with variable?

It's easy for a weapon - I just add the variable to the damage formula. But with armor?

1598099291422.png

I don't see any place where that's easily possible. Or maybe I'm missing something?
There may be a better way to do this but you could simply use an event to take the armor away and at the same time give the player an upgraded version of the armor. The player shouldn’t know the difference.
Yeah, but I wanted to avoid that. Even with just a few armors that I have this makes it a solution that isn't really elegant.
Unfortunately there are many things with mv that require a less than elegant solution for a seemingly simple problem. The only other way I know how to do it would be Yanfly’s Auto Passive States. Give the armor one or more passive states that applies the desired buffs and set the condition to only appear when your variable is reached.

I’m not sure I’d consider it a more elegant solution but it is a very useful plugin to have for many things.
I will look into that plugin. Thanks for the suggestion!

Original thread: https://forums.rpgmakerweb.com/threads/armor-upgrade-with-variable.125722/