Set MP amount after a battle ends

Discussion in 'RPG Maker MV' started by IAmJakeSauvage, May 10, 2018.

  1. IAmJakeSauvage

    IAmJakeSauvage Veteran Veteran

    Messages:
    417
    Likes Received:
    669
    Location:
    Hamilton, ON
    First Language:
    English
    Primarily Uses:
    RMMV
    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!,
     
    #1
  2. The Mighty Palm

    The Mighty Palm Resident Palm Tree Restaff

    Messages:
    545
    Likes Received:
    3,684
    Location:
    Unsure. If found, please notify.
    First Language:
    English
    Primarily Uses:
    N/A
    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
     
    #2
  3. IAmJakeSauvage

    IAmJakeSauvage Veteran Veteran

    Messages:
    417
    Likes Received:
    669
    Location:
    Hamilton, ON
    First Language:
    English
    Primarily Uses:
    RMMV
    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!
     
    #3
    The Mighty Palm likes this.

Share This Page