MV Saving and Loading Plugins' Data

So my popular plugin, Display Enemy Weaknesses, has a fault. It only displays the enemy's weakness in the battle. I want it to save and display them every battle. The Game_Enemy initMembers contains data saving the enemy's weaknesses. How can I save and load Game_Enemy info in my new battle from my past battle if I have unlocked one or more weaknesses?
To be clear, you want to keep track of what weakness information the player has revealed, like this?
Yes! Each battle shows how many weaknesses the enemies have, but not what they are. You can unlock them per battle in my plugin, but each new battle, it doesn't remember them, and you have to unlock them again. How can I save this data so that the weaknesses are already unlocked in each new battle so you won't have to unlock them again?

weaknesses.png
Yes! Each battle shows how many weaknesses the enemies have, but not what they are. You can unlock them per battle in my plugin, but each new battle, it doesn't remember them, and you have to unlock them again. How can I save this data so that the weaknesses are already unlocked in each new battle so you won't have to unlock them again?

View attachment 269077
The basic approach is to create a new class/object to store revealed enemy data, like Game_Weaknesses or something, and then add that to the save data.
How do I add it to the save data?
How do I add it to the save data?
You'd have to alias DataManager.createGameObjects, makeSaveContents and extractSaveContents.
Oh, thanks, guys! I think I got it and may be able to do it!

Original thread: https://forums.rpgmakerweb.com/threads/saving-and-loading-plugins-data.159218/