add frame limit when getting damaged