I have this code for subtracting health from enemy:
however it subtracts double the amount of damage. The Global variable GV_Player.damage is initialized to 2 (and never changed).
The PygmySkeleton.HP is initalized to 10, but after one shot the value of is reduced to 6 (it should be 8).
What am I doing wrong?
1 Like
Hey!
Not sure what’s going wrong here, but according to your image you sent, I don’t think that “Repeat for each instance of PygmySkeleton” does anything, as those conditions and actions could just sit in a normal event and do the job.
Could you try that and see if it fixes anything?
2 Likes
I removed the for each, but that didnt change anything - still double damage
I’ve also checked that I dont fire double missiles (or something) but there is only one instance of the ice_pick… hmmmm
(SOLVED) Dammit sorry I had the collision twice in my event list - so that was the reason but thanx @SnowyRawrGamer and sorry 
2 Likes