[Fixed] pets sometimes being able to attack while incapacitated

Change-Id: I37de3ec3634313af365efcbfa0ade23e0798fbc6