Class that heals when attacked

Hi, I don't think this has been asked yet, but I apologise if it has. I'm kinda new to this.

I want to create a class that heals when attacked by a certain element (fire in this case). I've tried various things (states, items, weapons ect.), but I want it not to be a skill that has to be activated. I can reduce the damage fire does, but not turn it into healing.

Thank you for any and all help.  🙂
The easiest way is to add an "element rate" feature for your class.

You will need to add a negative rate (eg: -100%), which means you will heal 100% of the elemental damage.

The editor does not support that, so you will need to use custom scripts.

One option is to use the Feature Manager.

Note-tag your class with

<ft: element_rate 3 -0.5>Where 3 is the ID of element that I want to set, and -0.5 is the percentage (ie: -50%). This means that I reduce the elemental damage by 50% and absorb the rest.You can look up the ID of your elements in the "Terms" database.
Thank you.  🙂
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/class-that-heals-when-attacked.20286/