Topic category: Help with modding (Java Edition)
I have been trying to set up a procedure that gives you a potion effect for an infinite amount of time until you lose half of your health (The procedure also makes use of the Health Boost potion effect, essentially giving you the health boost & jump boost potion effects then the idea is that you lose both once you run out of all of the health you gained from the Health Boost.)
I have been trying to use an if statement with the "current health of" block, if the current health of the player is equal to or less than 20 the if statement is triggered.
The log doesn't appear in console when the player has 20 or less health, and the player doesn't lose the potion effects either.
I don't know why it isn't working, anyone care to enlighten me?
My procedure is below.