I'm using "V.M. of D.T's Basic Enemy HP Bars v 2.9" script to show the player how much HP is remaining. I'm trying to create some enemies that have multiple HP bars, where the player has to take down each bar one at a time. Basically, I want to make an enemy that has multiple lives. With this script, I've already got the bars, but I need some way to have an enemy have two of them.
An example of what I'm trying to do is like the Demonic Beasts in Fire Emblem Three Houses:
When the enemy's HP bar is brought down to 0, the enemy doesn't die. Instead, one of those red crystals is removed and the enemy's HP bar is either refilled or replaced. Usually, an extra effect
happens on each HP bar. I want to be able to add this feature into my game so players can't instantly KO certain enemies in one hint. I don't exactly need all of the fancy "phase effects" or a second visual HP bar, just something that makes the HP refill once or twice when it reaches 0 without killing the enemy or ending the battle if it's the last enemy.
Does anyone have a script or method for this kind of concept?