[Solved] Potion that heals by dealing damage

Because I like to do things like in D&D, I'd like to have healing potions work by dealing an amount of positive damage. This damage is absorbed as healing on living beings by the means of a "Living" passive state that I added to the relevant actors and troops. The idea is that if a healing potion is used on an undead, it deals damage.

Here's how the potion is configured:
1647012275698.png


The "Living" passive state. Element 10 is "Positive".
1647012373960.png


This works as intended when used in combat!
1647012683920.png


Now for the problem: The potion cannot be used out of combat. The potion can be selected to use, but the party member selection doesn't work.
1647012568422.png


Any tips on how to solve this?
Nevermind, problem solved!

1647013826247.png

I added a 0 hp recover line to the potion effects and now it works as it should in all cases. 😀

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/solved-potion-that-heals-by-dealing-damage.145664/