Does lightning tend to favor certain locations over others? For example, is it more likely to strike a tree than the ground?
Here is a similar question on the preference of local position of lightning. But it's worth pointing out that lightning only happens in biomes that have rain and don't have snow. So desert, ice desert, nether (no rain), taiga, and tundra (snow) don't have lightning. (Theory from code reading)