moved enemy melee cooldown to callback