When Sheng Fu was killed in car crash during filming script was rewritten to make Yang No. 5 the hero.
This film is loosely based on actual historical figures of China; the Yang family, who defended the Northern borders of the Song Dynasty for generations. The movie's story was initially meant to follow the many tales that centered around one historical figure in particular, Yang Yanzhao. (The 6th son of Yang Ye.) According to history, Yang Ye and his 7 sons were betrayed by General Pan Mei and that he committed suicide in order to provide an escape for his remaining living sons. (The 5th, the 6th and the 7th. The film differs from the legend, in that number 7 dies and number 6 goes mad.) The film accurately depicts the fate of the 5th son, as he does desert the army and become a monk on Wu Tai Mountain. In the legend, the 6th son was depicted as the hero and fought in the last stand against Pan Mei and the Liao troops. Such was to be depicted in the film, but a re-write was necessitated with the untimely death of actor Fu Sheng, who portrayed the 6th son. Legend tells that the 6th son himself went to the Wu Tai temple to convince his older brother to join the fight, only to be refused as the 5th son would not break his vows to Buddha. Only after a messenger arrived with news of his younger sister's capture, did the 5th son choose to join his brother in the fight. The script was altered so that the only visit the 5th son received, was from a messenger that arrived with news of his sister. This motivates the 5th Yang to return to the fight, giving him the hero spotlight that was meant for 6th brother, Yang Yanzhao. In legend after Pan Mei's defeat, Yang Yanzhao went on to become a warrior of as fierce renown as his father. Eventually promoted to the rank of General, he continued fighting for the Dynasty until his death at age 57.
Fu Sheng was originally supposed to be the one to go to Shaolin. Major script re-writes were required that now put Fifth Brother (Gordon Liu) in Fu Sheng's role.