Durability Stat?

Is there a way of making one of your stats Durability and as you battle, each time you attack or use a skill there is a chance that stat will be lowered by 1?

Could you also use items to raise that number without going over the maximum the stat was originally?

I saw a demo of a game (harvest rune) that had a sharpness stat but I didn't get to see whether or not it did anything.
There is a durability plugin but it destroys items. I would prefer a way of just reducing damage or stats over time until the
item can be repaired. Is something like that possible?
'Game Mechanics Design' is for looking at aspects of game play from a more conceptual level. Implementation ("How do I...?") questions go in the Support forum for the engine you are using.

Moved to: RPGMaker MV

Original thread: https://forums.rpgmakerweb.com/threads/durability-stat.82783/