The manuscript analyzes the impact of the HVOF (high-velocity oxygen fuel) coating spraying technology on a substrate made of a light and high-specific-strength magnesium casting alloy from the AZ31 series. Among others, the following were examined: the influence of the spraying distance of coatings using commercial cermet powders (WC–Co, WC–Co–Cr, and WC–Cr3C2–Ni) on their resistance to erosive wear. It is worth emphasizing the energy savings resulting from the possibility of spraying on the surfaces of existing machine parts to protect or regenerate them. Energy savings result from the possibility of recycling the substrate material (AZ31), as well as from extending the functionality of an existing element without the need to dispose of it and the energy-intensive production of a new component. Tests have shown that the best resistance to the destructive effects of erodent in the form of hard corundum particles is characterized by a WC–Co–Cr coating sprayed at a distance of 320 mm.