Set MP amount after a battle ends

Hey guys,

So basically, I want my characters to have a fixed amount of mana at the end of a battle (3) - and I never want them to have more than this - what's the best way to go about this? Maybe my brain isn't working but from what I can see there's no way to actually set MP amount - only ways to increase/decrease it.

Thanks!,
at the start of every battle, flip a switch that calls a common event. Have the common event set the MP to the amount you want. Unless MV is different, Common events dont run during a battle so it will automatically start when you get back to the map.

to set it to a specific amount, first reduce it to zero (-9999), and then add the desired amount
at the start of every battle, flip a switch that calls a common event. Have the common event set the MP to the amount you want. Unless MV is different, Common events dont run during a battle so it will automatically start when you get back to the map.

to set it to a specific amount, first reduce it to zero (-9999), and then add the desired amount
Oh my god - as I was writing this I was like "the solution is super easy i just can't get my brain to work" and THERE IT IS. Thanks friend!

Original thread: https://forums.rpgmakerweb.com/threads/set-mp-amount-after-a-battle-ends.95073/