added cooldown so does not break out of attack