During the Ming dynasty, it is said that there exists an ancient deity's book containing technical knowledge, including the unique method for manufacturing weapons with destructive power. The one who possesses this book holds ultimate authority over the nation. In ancient times, the deity bestowed the book upon the royal family as a symbol of their rule.
However, during the Yuan dynasty, the Mongolians invaded and seized control of the central plain. Amidst chaos, the book was lost and reappeared in outlaw societies, luring numerous forces to fight for it. When the Han people regained power in the Ming dynasty, the deity's book was found and returned to the Imperial Palace.
Despite this, the outlaws had already learned of the book's existence and plotted to steal it. The most famous robbers in outlaw societies, including the Hell-fire monk, Hua Daochang the thousand-face fox, and Duan Yun in white, attempted to break into the Imperial Palace during the ghost festival to claim the deity's book as their prize.
The emperor founded the Imperial Guards to serve as his personal bodyguards and imperial secret policemen and spies. Among them was a young and inexperienced guard named Yuan Xiaotang, who became the hero of this story. The emperor tasked the Imperial Guards with capturing the three robbers and recovering the deity's book, marking the beginning of this tale.