Minecraft wiki entry for Death_messages, associated text: <player> was struck by lightning
Appears when the player is killed by a lightning bolt.
<player> was struck by lightning whilst fighting <player/mob>
Appears when the player is hurt by a player or mob then killed by a lightning bolt.