Sze Sai-lun becomes the new magistrate of Kong-do County. After a series of unresolved cases, the townspeople begin to see him as pathetic and useless. While Sai-lun was searching for evidence by a hillside, he accidentally injures himself, dropping blood on a mysterious pillow. He faints on it and discovers that the pillow encloses a spirit who can help him solve mysteries by giving him clues and riddles to solve. With the help of the pillow spirit, the townspeople begin to see a new light in Sai-lun.