My favorite npc I ever ran was in a homebrew spelljammer campaign a few years ago, the foible for the party was a beholder pirate captain named eye-beard who would constantly one-up or outmaneuver the party. Also let me talk like a pirate. After they killed him he later came back as a death tyrant