I am looking for a script that automatically heals the same HP and MP upon HP and MP gain.
Basically if an actor levels up and now his max HP is 35 HP higher, I want the actors current HP to go up 35 as well.
For example, if say Justin's current HP is 500/1200 and he levels up and now his max HP is 1235, I want him to automatically recover 35 HP so his current HP is now 535/1235. I want the same for MP. so like 400/500 would become 410/510 respectively. (This is how Pokémon games do it).
I also want this to work on status effects that raise max HP/MP like Moltres's dynamax skill that doubles her max everything. Currently I have a healing effect that does this but I would prefer it to do it without adding the "recover HP" and "recover MP" effect.
Keep in mind there are ways in my game that a player can level up outside of battle so something that works in all cases in and out of battle is preferred.
Is there a script for this or one can be made?
You folks have been extremely helpful with scripts and I appreciate it.
Basically if an actor levels up and now his max HP is 35 HP higher, I want the actors current HP to go up 35 as well.
For example, if say Justin's current HP is 500/1200 and he levels up and now his max HP is 1235, I want him to automatically recover 35 HP so his current HP is now 535/1235. I want the same for MP. so like 400/500 would become 410/510 respectively. (This is how Pokémon games do it).
I also want this to work on status effects that raise max HP/MP like Moltres's dynamax skill that doubles her max everything. Currently I have a healing effect that does this but I would prefer it to do it without adding the "recover HP" and "recover MP" effect.
Keep in mind there are ways in my game that a player can level up outside of battle so something that works in all cases in and out of battle is preferred.
Is there a script for this or one can be made?
You folks have been extremely helpful with scripts and I appreciate it.