Your liver makes platelets so if your liver function is not optimal, wound healing is harder.

Some people also have rare diseases where they don’t have clotting factors so require a transfusion of clotting factors before surgery for optimal wound healing.

> Your liver makes platelets

Megakaryocytes are primarily bone marrow cells.

Indeed, but your liver does make clotting factors and also thrombopoietin, which stimulates platelet production.