Fixed MP Cost plugin?

(Posted this on the wrong forum earlier. 😅)
I am trying to set up a plugin à la the Celestriad from Final Fantasy 6, where you can make it so that a battler's every skill across the entire board will cost 1 MP (or whatever the designer dictates). Only trouble, I'm not really that experienced with JS and I don't really know how to make such a plugin work. Any kind soul who knows of such a plugin or how to make such an effect? :3

Original thread: https://forums.rpgmakerweb.com/threads/fixed-mp-cost-plugin.121686/