Partial heal after each battle

Hi all,

I'm quite new to this so apologies if this is a simple matter, but i havn't found a solution so far.

After each battle i want characters to heal for a % of their total life. I've seen that having a constantly running event in all maps can allow for a full heal, but how do i make turn this into a partial heal?

Also, is there a way to tie this effect to an item at all? This is less important but could be nice to know for future.


Thanks!
It can be done with a Battle Event / Common Event by following Andar's instructions in this thread:

Or by plugin.
Use this plugin and set your % heal to be in a Common Event, the video will explain the basics.

Either way can be tied to an item, because in the Common Event you can use a straight-forward event Conditional Branch to check whether the Party has the item, consume the item, etc. etc.
Well as @Aloe Guvner said use andar's method.
In the common event write this in the script box:
for (i = 0; i < $gameParty.size(); i++) {
var hpp = $gameParty.members().mhp * 0.01 * x;
$gameParty.members().gainHp(hpp)
}

Replace x with the perecentage you want.So say you want 25% heal replace x with 25. You want 45% heal replace x with 45.

If you want to tie it to an item put a condtional branch in the common event checking to see if the party has the item. Put the script call in the conditional branch.
The only nuance to the non-plugin strategy shared by Andar is that it will execute every time a battle is exited.
  • This includes when the party escapes and when the battle is aborted
If that doesn't matter to you, then go for the non-plugin method because it's generally better to not use plugins unless you have to.


But if you only want the partial heal to occur when the party successfully defeats the enemies, then go for the plugin.
Ok awesome, thanks for the help guys!

Original thread: https://forums.rpgmakerweb.com/threads/partial-heal-after-each-battle.89682/