The Battle Wizard (天龍八部) is a 1977 Hong Kong wuxia film adapted from the novel Demi-Gods and Semi-Devils by Jin Yong, focusing on the story of Duan Yu. The screenplay was written by Ni Kuang, and the film was produced by the Shaw Brothers Studio and directed by Pao Hsueh-li.