Change Armor Stats Based On Current HP

Hi everyone!

I've been working on a personal project and I really need a set of armor to reduce it's defence capabilities when the wearer is on 50% or lower health.
So it's great stats, but when the user is below 50% HP, the armor becomes weaker.

I have The essential Yanfly plugins and not opposed to getting more if it'll help. Anyone know how to do this?
Thanksss!

Original thread: https://forums.rpgmakerweb.com/threads/change-armor-stats-based-on-current-hp.150488/