How do I make an enemy absorb an element?

I have a fire elemental creature, I would like water element attacks to double their damage, and fire element attacks to have a healing effect on the enemy.

How can this be accomplished?

I assumed I could make fire have a negative value, but I can't go lower than zero.

upload_2017-7-13_20-32-0.png


Any help would be appreciated.
Multiply by negative values.

If you want an enemy to absorb fire, make his vulnerability to fire -100%. 😉

Edit: I just saw you can't use negative values... My bad. 😅
It takes a script, as there is no absorption by default in the engine.

I've moved this thread to RGSSx Script Requests. Thank you.



I moved it here as you posted under ACE resources, but if you really use MV let us know and we can move it again. Also you really should set a primary use on your profile as it helps to direct posts to the right places, as scripts only work in ACE (MV uses plug-ins).

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-an-enemy-absorb-an-element.81274/