Hi, I was wondering if there was a way to create a state that stops health from going below 1. I tried using yanfly's buffs and states core along with this:
But it doesn't trigger at all. Does anyone know what to do?
<Custom Respond Effect>
if (user.hp == 0) {
user.gainHp(1);
}
</Custom Respond Effect>
But it doesn't trigger at all. Does anyone know what to do?