Unsigned integer bug in hp decrease