RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[VXA] Recover HP and Mana upon leveling up.

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 56
RMRK Junior
I just have a simple request, how do I make it so that the party members recover hp and mp when they level up?

*
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
You could have a parallel process event running that checks if the actors' levels have changed, and if they are, recover their HP and MP.

Alternatively, you could use this snippet I just made up (anywhere in the Materials section of the script editor, preferably high up).
Code: [Select]
class Game_Actor < Game_Battler
  alias hpmprec_lvl_up level_up
  def level_up(*args)
    hpmprec_lvl_up(*args)
    @hp = mhp
    @mp = mmp
  end
end
it's like a metaphor or something i don't know

**
Rep: +0/-0Level 56
RMRK Junior
Thanks, this works a lot better and is easier to use.