Destroy target land. If that land was nonbasic, Molten Rain deals 2 damage to the land's controller.
If the target land is an illegal target by the time Molten Rain tries to resolve, the spell doesn’t resolve. No player is dealt 2 damage. If the target is legal but not destroyed (most likely because it has indestructible), its controller is dealt 2 damage.