/petattack if not attacking due to fear

pet attacking check in func lib