add timeout to attack animations