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 Profile Posts

I added footstep sounds to our content that I posted in a previous thread. I was unable to edit the post, so if you're interested, see below.

DOWNLOAD LINK

I've started working on rpg maker again, and I can see a lot of improvement from when I was 13. I still have a long way to go, but I'm proud that I've gotten this far.
Animated Title screen is by SharkerrBlue(SB)
I am using the Nightmare Land pack.
I just can't walk to the store for lunch without walking past people smoking. It not only smells bad, it's probably poisoning me. I'm afraid I'll eventually have to be hospitalized. I can't take another path because there's too much traffic and drivers in the plaza are reckless sometimes. I almost got run over once, even after looking both ways.
RyanYe wrote on whtdragon's profile.
Your art works about Wyrvens and Dragons are sooooooooo cooooooooool~! I like them so bad
Can you create more? like Archangels, Devils, Titans, Cyclops!!
My valentine cutscene is now available on itch.io and you can get the "source code" as well, feel free to check it out!

The game page on itch can be found at:

Forum statistics

Threads
108,795
Messages
1,039,549
Members
141,245
Latest member
feedtalefour
Top