Hello again. I was wondering how I could make an enemy keep the total HP it has when it transforms into a new enemy, along with how I could make it transform again after that.
Example: This is the enemy. It has 100 health. When it gets hurt at all, even just 1 HP, it becomes the next one:
This one. It should still have the hurt from getting hit once. After it gets below 50% health, it transforms again:
Becoming this. It should still have the below 50% health from before. After this stage it dies.
How do I manage this?
Example: This is the enemy. It has 100 health. When it gets hurt at all, even just 1 HP, it becomes the next one:
This one. It should still have the hurt from getting hit once. After it gets below 50% health, it transforms again:
Becoming this. It should still have the below 50% health from before. After this stage it dies.
How do I manage this?