Romance of the Three Kingdoms is a fictional novel. Some of them don't even exist, or he's not as powerful as in the novel, and Dianwei is undoubtedly a real fierce general who made great contributions to Cao Cao.

Dianwei was Cao Cao's personal bodyguard, specifically to protect Cao Cao's safety. Dianwei is very good. Another reason was that his loyalty gained Cao Cao's trust. Cao Cao was a suspicious man. It is not easy to gain his trust, which once again reflects the loyalty of Dianwei.
After Zhang Xiu surrendered, Cao Cao met Zhang Xiu's sister-in-law Lady Zou. Cao Cao was impressed by her beauty, so he put her in the account. Zhang Xiu was very angry and planned to sneak up on Cao Cao.
At that time, Cao Cao's sons and Dianwei worked together to block the rebel army and create a chance for Cao Cao to survive. That night, Dianwei, who had lost his double halberd, fought hundreds of people with a knife. If the Double Halberd hadn't been stolen at the time, he probably wouldn't have died in battle. It was his bravery that forced the enemy to steal his double halberd, his fighting power decreased, and the enemy poured in like a flood. Again and again, Dianwei repelled the enemy and bought time for Cao Cao. Finally, his physical strength was exhausted, and a group of spears stabbed into his body. Dianwei completed his final mission.
Cao Cao was really lucky to have such loyal men. He exchanged his life for Cao Cao's chance to survive. He also used his life to prove his loyalty to Cao Cao. Dianwei died, and Cao Cao lost a fierce general.