The XP Stats (Strength, Int, Vitality, ect)

I know that there are scripts for adding custom stats into your game, but in particular I'd like to bring back how the stats from XP worked, along with being able to make your ATK, DEF, and MDEF be 0 if you had characters unequipped. I've been searching for something similar to be able to pull this off, but have yet to find anything that really helps out with getting these kind of stats added and calculations to the stated equipment values. Would anyone have any sort of clue how to pull these off?
The engine by default sets a minimum of 1 for all the basic stats save for max mp.
You'd have to edit the core plugins to make the change. And even after that, you'd have to make an event lower the desired stats to 0 as the maker doesn't allow you to set original stats below 1.

I can look into it for you. If memory serves, it wasn't a very difficult edit.

Original thread: https://forums.rpgmakerweb.com/threads/the-xp-stats-strength-int-vitality-ect.120050/