After various lightning based enemies, Wo Long: Fallen Dynasty decided keep this up with Leishi. The thunder god pig is an interesting threat, though this is absolutely one boss that is more bark than bite.
How to Defeat Leishi in Wo Long: Fallen Dynasty
Since this is just a boss battle, you might want to equip Wood elemental armor.
How to Defeat Leishi
Leishi is surprisingly straightforward. Even though it has a wide variety of powerful attacks, it has little in terms of spirit gauge. It also gradually decreases, so a flurry of attacks should overwhelm the pig god.