I'll explain.
Enemy has an attack that deals damage equal to the target's health - 1, essentially leaving them with 1HP. Then, I want the enemy, for their next attack, to check and see if any of the actors have 1 hp remaining. If they do, do a regular attack. If none of them do, once again use the attack that leaves a target with 1hp. And, when using this mercy attack, it should just be random on all actors with HP greater than 1.
I know very little about how enemy behavior works in this engine. From what I've tried, I can't get it to work. Any advice?
Enemy has an attack that deals damage equal to the target's health - 1, essentially leaving them with 1HP. Then, I want the enemy, for their next attack, to check and see if any of the actors have 1 hp remaining. If they do, do a regular attack. If none of them do, once again use the attack that leaves a target with 1hp. And, when using this mercy attack, it should just be random on all actors with HP greater than 1.
I know very little about how enemy behavior works in this engine. From what I've tried, I can't get it to work. Any advice?