I tested the On Animation ended solution but it has problems. The sprite is supposed to be affected multiple times. So after it has been affected by a another sprites on animation ended event, it still needs it to happen again multiple times. So i added the action, go to frame 0 to the On animation ended event so that the animation would run again and reach the ending frame. The problem is that if you have Loop set to no, the animation goes to frame 0 but don't go on past that. If you set Loop to no it goes past frame 0 but the effect the on animation ended is supposed to create doesn't happen instead. That could be becuase the On animation ended event doesn't work whit looping animations but like i said making it not loop doesn't work either. Thanks for the suggestion anyways. It maybe could work, if you could give a solution to these problems.
But in case there is no solution to the problems whit that suggestion, here is a copy of my capx. The capx takes up alot of memory, so now you know that and don't need to comment on that. I have changed the appearance of some sprites for private purposes. When you open the capx you will start on layout 50 where the Sprite 1258, the spriet whit problems is located. The latest event in Event Sheet 4 is the ones that is connected to Sprite 1258. Please don't look deeper into the project then necissary and don't comment on anything that isn't neccissary.
https://www.dropbox.com/s/4ks20oboupgz8 ... .capx?dl=0