Lin Wei, a doctor of modern history, was writing a thesis on the Yongzheng Dynasty when she was struck by lightning and her soul was pierced in the 41st year of Kangxi's reign. She was reborn in a frightened night during a thunderstorm. Her mind was full of modern complaints and inner monologues of historical predictions. Yinzhen unexpectedly unlocked the ability to listen to her voice and realized that the girl knew the future trend and hid the key information to win the heir.
Lin Wei relied on historical knowledge and modern life skills to gain a foothold in Shenzhai: improving snacks, skillfully using plant ash to take care of the residence, and resolving the frame-up of concubines in the same house. She also secretly used her inner voice to remind Yinzhen to find out the deficit in the household department, prepare for Nian Gengyao in advance, and adhere to the strategy of "fighting without fighting" to win the heir. The two developed feelings for each other through repeated trials and help. Lin Wei properly maintained her relationship with her direct descendants Fujin and Nian, and gained a firm foothold. As the prince was deposed twice and the Eighth Prince Party supported the fourteenth elder brother, the battle for the right to inherit the throne intensified. Yinzhen, who was promoted to Prince Yong, kept a low profile, and Lin Wei always accompanied him to provide advice. The two worked together to lay the foundation for the right to win the right to the throne.