Enemy Health Glitch

Hello, I have been presented with a bug in my top-down roguelike. The issue is when I use an item like the sword or axe to hit multiple enemies the animation of damage plays through but they don’t receive any damage and don’t die. This doesn’t always happen, but when it does it affects every enemy in the room making them unkillable. This even happens when I equip a weapon that kills them in 1-shot, so I assume it is to do with that. Hopefully you guys can help me out. Thanks!

Sidenote: Enemies is the name of the group which includes all the foes.

1 Like

Hello, LeviathanGamez

I don’t know if this change will be enough to solve your problem, but when using Trigger Once with “Repeat for each instance” your actions will only occur once in a single instance. You need to remove the trigger once and use a variable or other condition that causes the event to occur only once.
Maybe in your case you can put the inverted condition checking if the animation “hurt” is playing.

1 Like

thanks you fixed the bug for me.

1 Like