I was making an enemy that I envision to have a healing skill that scales in strength depending on how much health it has left.
Basically, the enemy is meant to regain 50% of its missing HP. So the higher its health, the lower the amount of hp it will regain.
I'm still familiarizing myself with coding, so this may seem obvious, but any help with the formula would be greatly appreciated.
Basically, the enemy is meant to regain 50% of its missing HP. So the higher its health, the lower the amount of hp it will regain.
I'm still familiarizing myself with coding, so this may seem obvious, but any help with the formula would be greatly appreciated.