MV Armor transforms upon breaking (YEP_ItemDurability)

So for one of my games I have a three-stage item durability system. Each piece of body armor has a fully intact stage, a damaged stage that is half as effective, and a destroyed stage. I also have an NPC that can restore a damage or destroyed piece of armor to its pristine state.

Each intact and damaged piece of armor has a custom break effect that, ideally, should make it regress to the previous stage once its durability hits 0. Here's the work-in-progress code:
<Custom Break Effect> // Get the next stage of the armor. var nextStage = 1002 // Transform this armor. </Custom Break Effect>

The problem is I'm not sure how to make the armor transform. Could someone help me?

Original thread: https://forums.rpgmakerweb.com/threads/armor-transforms-upon-breaking-yep_itemdurability.144708/