Fixed some damage check bug