So I made my character throw a ball of energy as an attack and when the ball hits the enemy it would kill him but it is not working very well
I can only kill if I am facing the enemy, attacks from behind or from the sides do not work, Just push him
Energy ball
Bp
Acertou = Hit
Vida = Life
Hit
Inimigo Morto = Dead Enemy
0.0 = Current Life
Acertou = Hit
Enemy
Bp
Vida = Life / Distancia = Distance
Muito Perto = Too Close / PlayerNaVista = Player In Sight
Atacou = Attacked
Spawn Energy Ball
Vida = Life / Pulou = Jump