Stopping MP from regenerating when changing MaxMP

DragonKingDX2

Kamen Rider
Member
Joined
Feb 12, 2019
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
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.
 

TheGameBrewery

Veteran
Veteran
Joined
Apr 14, 2018
Messages
34
Reaction score
20
First Language
English
Primarily Uses
RMMV
Could you post a screenshot of an example of your equipment? What plugins are you using?
 

DragonKingDX2

Kamen Rider
Member
Joined
Feb 12, 2019
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
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.
 

Attachments

  • Equipment.png
    Equipment.png
    198.4 KB · Views: 0
  • Equipment2.png
    Equipment2.png
    178 KB · Views: 0

Latest Threads

Latest Posts

Latest Profile Posts

No matter how many times I listen to him, I know this is Joker speaking, but my brain can only hear Dagda.
Does anyone know of NPC sprites for RMMZ? I know of Flirion's RMMV recolours, but RMMZ's sprites are slimmer and more detailed, so I'm a bit on the edge to use Flirion's im RMMZ...
I can't believe that after all those years, KH Union X Dark Road is closing the services.

Due to a situation in which I thought plugin adaptations had stopped for the QPlugins, I "ghetto" converted these 7 over yesterday. They appear to work perfectly as long as you use old style plugin commands. I am uncertain if I will have a lot of free time in the future to work on this, but if you'd like them, here they are.
Was there a thread that you could share a screenshot of your game? I feel like I found it once but can't locate it again.

Forum statistics

Threads
108,819
Messages
1,039,789
Members
141,277
Latest member
FeatherStone
Top