if (other.inv == 0) { hit(self, other); other.inv = 30; }