MV Temporarily charge a piece of equipment with an element?

Does anyone know if their is an MV plugin that will allow me to "charge" a weapon or armor with an element? say for example, I have a fire charge that I attach to a sword. Now, every time I attack with that sword, it will deal fire elemental damage. However, the more I attack with it, the weaker the fire charge becomes, until eventually the fire charge disappears.

Yanfly's attachable augments almost lets me do this, but the augments themselves are not a limited resource; i.e. once you have a fire charge, you have it forever. Anyone have any suggestions?
for such things you usually use states - but you'll need a plugin for advanced state functions and then javascript to make the effects variable, by default the states are static with full effect until timeout.
Since you're using Yanfly's Item Core and independent items, you could also put the information directly onto the item (like augments does).

There are two greater issues.

One is how you do this, UI-wise. The easiest way would be to target an actor and apply it to their wielded weapon. Using Yanfly's Skill Core, you could try this:
Code:
<After Eval>
if (target.weapons[0])
    target.weapons[0].fireDam = 10;
</After Eval>

That can go in, say, a fire crystal item or something. Then your damage formula or more notetags can check for that fireDam variable, use it in a calculation, and decrement it.

The other issue is making that extra fire damage. RPG Maker doesn't have any way to make part of an attack's damage susceptible to elemental modifiers, just the whole thing. So if you want this extra damage to be fire and you don't want to just make the weapon give the fire element to your attacks as a whole, you'll have to include the calculation for it in your damage formula or something.
by default the states are static with full effect until timeout.
I think I misspoke; I know I said "the more I attack , the weaker the fire charge becomes" but what I meant is that the charge has its own sort of durability. as long as it's attached to the weapon, regardless of how much durability it has left, it will always deal consistent fire damage. I basically just want a timer for when the element charge disappears.

Edit: would it be possible to destroy a weapon or armor augment? could I set it up to where all 'normal attack' damaging skills call on a common event that determines which character triggered it, and whether or not they have an augment on the weapon/armor. Then, it selects a random number between 1 and 10 and if the result is 1, a script or plugin command is triggered which destroys the specific augment on that specific character's piece of equipment. Would something like this be possible?
in that case the states would be the way to go as there is a timer build-in to them, with lots of options

Original thread: https://forums.rpgmakerweb.com/threads/temporarily-charge-a-piece-of-equipment-with-an-element.166179/