Pu Songling
Hu based the screenplay of "A Touch of Zen" on the ghost story of "Xia Nü" in "Liaozhai Zhiyi", an anthology by Pu Songling. He arranged the credit of "Liaozhai Zhiyi" as the first title card right after the company logo in the film, even before the film title. In Pu Songling’s original story, the male scholar does not pursue being a knight-errant and the separation between wen and wu. However, the film modifies the character’s attributes and instead leads the scholar to adapt knight-errant and restore the country from the corrupted dominance of the eunuchs.