Amnesia State [PLUGIN?]

Greetings and Salutations,

I was wondering how difficult it would be to set up an Amnesia State. I assume it would require a plugin, but you might be able to event it. Let me know.

Mechanically, when it is applied I want it to decrease the actor's effective level by a random number between 1 and 20 (never below 1, of course). I also would like it to randomly seal between 1 and 20 skills known by that actor or enemy.

When the state is removed I want the lost levels to return and the sealed skills to unseal.

Anyone want to take a swing at it?
'Plugin Releases' is for when you have written a plugin that you want to share with the community. So...
Moved to: JS Plugin Requests
Oh gosh, sorry mate. That was an accident. I had multiple tabs opened and I didn't realize I'd clicked new topic in the wrong one.

Original thread: https://forums.rpgmakerweb.com/threads/amnesia-state-plugin.74532/