HoT which heals on removal

Hello all,


I'm currently working on a healer character, and I wanted one of the skills to put a regeneration buff on an ally that gives them regeneration, with a burst heal when the state expires.


eg. State lasts 3 turns, 1st 2nd and 3rd turns heals 2% of max health, then heals for 20% hp.


I would like it to be based off of %percentage of the person being healed, as I want it to be more effective on bulky characters.


I have Yanfly's Buffs & States Core, which can hopefully do this, but I don't have much java/scripting knowledge.


If anyone can offer help that would be great!


HatJump
Have the skill add 2 states, 1 that is HP regen +22% lasts 3 turns, 1 that is HP regen -20% lasts 2 turns.
Add a normal regen state. Then use yanfly on regen with the following tag


<Custom Leave Effect>


blah blah whatever healing


</Custom Leave Effect>
I'm a bit late to the post but you could try my State Common Event plugin. In this plugin you can put a notetag on the state to run a common event onexpire. In the common event you can add the burst heal effect.


It's as simple as adding


<StateCE Event: 1 onremove>


to the notetag of the regen state. Replace 1 with the common event ID you are going to run.

Original thread: https://forums.rpgmakerweb.com/threads/hot-which-heals-on-removal.56576/