If enemy HP is more than "x"...

Hello!


I have a problem with making boss fight. To win fight, you must HEAL enemy. I'm using Yanfly ElementAbsorb to make enemy heal when attacked.


I've made something like this:


Turn 0 - Change enemy HP -999


I want to make later something like "If enemy HP = 1000, then transform enemy", but the only avaible option is "If enemy HP = 1000 or above".


Any ideas? ^^
So you want to transform when the enemy is exactly 1000, but not if they're 1001?


Is that condition being used as an event tab condition, or in the conditional branch?  You might be able to use that along with a conditional branch to see if enemy HP is > 1000 (if it is, do nothing, else do the transform).
Nevermind, I've fixed this already.


Just made conditional branch with script and entered this:


$gameTroop.members()[0]._hp === 1000


1000 is enemy's max hp, so it doesn't really matter.


Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/if-enemy-hp-is-more-than-x.59313/