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

Interesting week. Lots of stress and anxiety especially on Tuesday but still got thru it. How is everyone doing?
I was pleased with how the little ... whatever those square bits like upside-down turrets on the skirt are? I like how they turned out. Here's a little ranger/bandit/archery enthusiast to model it:

TestChara-08.gif


I'm calling her Robin because obviously.
Just downloaded the demo and boy howdy are my arms tired (???) :kaohi:
I just watched a trailer for the upcoming 2021 JRPG Fantasian. They demonstrated an interesting mechanic where random encounters can be sent to a stockpile instead of fighting them right away, which can be emptied in a single battle string at the player's choice of timing.
"The pleasure from the senses seems like nectar at first, but it is sour as the toxin in the end." -Kirshna

Forum statistics

Threads
109,157
Messages
1,042,603
Members
141,656
Latest member
drackdragon113
Top