State that icreases healing received

Sorry if this has already been asked elsewhere, but I couldn't find it.
I'm trying to make a state that increases healing received by a percent.
I'm using yanfly's buffs and states as well as many other yanfly plugins.
I'm a noob when it comes to javascript but this is what I've got so far.

<Custom React Effect>
if (value < 0) {

var heal = Math.floor(value * 1.20);

$gameActors.isactor().gainhp(-heal);

}
</Custom React Effect>
Maybe you have to create an element « Healing »

Then create a state that increase « Healing » rate to 150% or something like this

Create a spell that put this state on your target(s)

And don't forget to set set element to « Healing » for your healing spells

I've tested it and it works
Thank you. I'll give it a try. I've been stuck on this for hours now.
Update: It works. I think I was just focusing on using the javascript and wasn't thinking about other methods :|

Original thread: https://forums.rpgmakerweb.com/threads/state-that-icreases-healing-received.87986/