Joy of Life's assassination of Yan Xiaoyi happened in episode 35.

In Joy of Life, the specific episode where Barrett killed Yan Xiaoyi was episode 35. Fan Xian used the Barrett M82A1 sniper rifle to aim at Yan Xiaoyi and gave him a shot, causing Yan Xiaoyi to die.
The specific number of episodes where Barrette killed Yan Xiaoyi during the celebration was episode 35.
In the 35th episode of Joy of Life, Fan Xian successfully killed Yan Xiaoyi with a Barrett sniper rifle. This battle was a showdown between cold weapons and gunpowder civilization. Fan Xian used the power and skill of the sniper rifle to defeat Yan Xiaoyi. The specific plot could be found in the relevant chapters of the play.
In Joy of Life, Fan Xian used a sniper rifle to kill Yan Xiaoyi. After Fan Xian killed Ye Qingmei for revenge, he decided to break into the Palace to assassinate the Qing Emperor. Yan Xiaoyi became their first target when they barged into the palace. Fan Xian found the sniper rifle Ye Qingmei had left behind. He aimed it at Yan Xiaoyi and fired, killing him directly. The specific description of the scene could be found in the relevant chapters of Joy of Life.
In Joy of Life, Fan Xian used a sniper rifle to kill Yan Xiaoyi. After Fan Xian killed Ye Qingmei for revenge, he decided to break into the Palace to assassinate the Qing Emperor. Yan Xiaoyi became their first target when they barged into the palace. Fan Xian found the sniper rifle Ye Qingmei had left behind. He aimed it at Yan Xiaoyi and fired, killing him directly. The specific description of the scene could be found in the relevant chapters of Joy of Life.
In Joy of Life, Fan Xian used a sniper rifle to kill Yan Xiaoyi. After Fan Xian and the others learned that the murderer of Ye Qingmei was the Qing Emperor, they decided to break into the Palace to assassinate the Qing Emperor for revenge. Fan Xian opened Ye Qingmei's chest and found a sniper rifle. He then used this sniper rifle to aim at Yan Xiaoyi and shoot, killing him directly. Fan Xian later grew tired of the grudges of the martial world and took his family to live in seclusion in Jiangnan.
Yan Xiaoyi's ending in " Celebrating Years " was being killed by Fan Xian with a sniper rifle. In order to take revenge, Fan Xian and the others planned to break into the Palace to assassinate the Qing Emperor. Yan Xiaoyi was their first target. Fan Xian used the sniper rifle Ye Qingmei had left behind and aimed it at Yan Xiaoyi, killing him.
Yan Xiaoyi's ending in Joy of Life was being shot by Fan Xian with a sniper rifle. In order to take revenge, Fan Xian and the others planned to break into the Palace to assassinate the Qing Emperor. Yan Xiaoyi was their first target. Fan Xian used the sniper rifle Ye Qingmei had left behind and aimed it at Yan Xiaoyi, killing him. Therefore, Yan Xiaoyi was killed in the movie.
Yan Xiaoyi's ending in Joy of Life was being shot by Fan Xian with a sniper rifle. In order to take revenge, Fan Xian and the others planned to break into the Palace to assassinate the Qing Emperor. Yan Xiaoyi was their first target. Fan Xian used the sniper rifle Ye Qingmei had left behind and aimed it at Yan Xiaoyi, killing him.
Yan Xiaoyi's ending in Joy of Life was being shot by Fan Xian with a sniper rifle. In order to take revenge, Fan Xian and the others planned to break into the Palace to assassinate the Qing Emperor. Yan Xiaoyi was their first target. Fan Xian used the sniper rifle Ye Qingmei had left behind and aimed it at Yan Xiaoyi, killing him. Therefore, Yan Xiaoyi was killed in the movie.