If anim_percentage is a global variable it means that every entity has the same animation speed and every entity is for example at the 4th frame of its animation cycle.

I would recommend to define a skill as anim_percentage and use it for each entity individually:
Code:
#define anim_percentage skill50;