The story is set in the Ming Dynasty during the reign of the Jiajing Emperor. General Qi Jiguang enlists the help of Shaolin Monastery's warrior monks to defend China from the wokou and other invaders.