Stopping MP from regenerating when changing MaxMP

I was curious if there is a way to stop the MP bar from filling back up each time you change it with equipment. I am trying to make an ammo system for my game and each weapon has a different number of bullets. I worked out how to do a reload and unload by turning gold into the bullets but if a player swaps weapons they will either gain a large number of bullets or lose a large number of them. I would prefer if I could run an event when they swap weapons but I could only find two plugins and haven't gotten either of them to work. HIME's seems to not be functional at all and with WAY's I thought putting $gameActors.actor(1).gainMp(-6) would suffice but it doesn't affect anything. Any help would be greatly appreciated.
Bump
Could you post a screenshot of an example of your equipment? What plugins are you using?
I have a bunch of Yanfly, Hime, Mog, and Glav, Plugins since it's the project that I just test stuff in. I added WAY_Core and WAY_CustomOnEquipEval to the bottom of the list after everything else since everything else is in the proper order and has been working and still works fine. The actor starts with this pistol and their MAX MP is set to six. When they switch weapons their MAX MP changes to 30. I have the gold acting as bullets and I made a system where they can reload and unload the gun so they don't lose bullets. (since it's also the currency like in metro) But if they gain full MP back every time they swap a weapon they can easily create a lot of bullets for free.

Original thread: https://forums.rpgmakerweb.com/threads/stopping-mp-from-regenerating-when-changing-maxmp.130036/