In 7th-century China, life is rife with magic, fox spirits, and demons. Xie, the demon lover of the empress Wu Zhao, believes he must possess the oracle bone, which will bestow immortal powers on him. In his way is Qilan, an eccentric Daoist nun, who is training the orphan girl Ling to avenge her parents murder.