So what I'd like to have is a script that heals you for the percentage of the health you have at the moment when you level up.
For example if my max HP is 1000 and I level up to 1200 HP my HP will stay at 1000 normally, but with this script it would heal to 1200. And if I had 500 HP aka 50% of HP during level up, my current HP would rise to 600 which is 50% of 1200 obviously.
I have this small script made by Yato:
And I was wondering if something could be done to the mhp and mmp parts since those heal you fully.
This is for VX Ace btw forgot to add that.
For example if my max HP is 1000 and I level up to 1200 HP my HP will stay at 1000 normally, but with this script it would heal to 1200. And if I had 500 HP aka 50% of HP during level up, my current HP would rise to 600 which is 50% of 1200 obviously.
I have this small script made by Yato:
Code:
class Game_Actor < Game_Battler
alias heal_on_level_up level_up
#--------------------------------------------------------------------------
# * Level Up
#--------------------------------------------------------------------------
def level_up
heal_on_level_up
@hp = mhp
@mp = mmp
end
end
And I was wondering if something could be done to the mhp and mmp parts since those heal you fully.
This is for VX Ace btw forgot to add that.