I am having issues with making attacks on enemies work properly.
I want the sword attack to only affect the enemy/enemies it hits. Right now it affects every single enemy on screen.
Every enemy has its own HP pool (some enemies have 3hp, others have 2hp). Every sword attack takes away 1hp from the enemy.
Problem right now is that whenever i kill one enemy with the sword, they all die (or just stop moving?).
I have attached the file i would like to get some help with. bw EXAMPLE.mfa