Dragons don’t fight fair.
Edit: I’m being told that even one dedicated archer in Pathfinder can be a freaking buzzsaw against aerial targets. Guess who’s getting the first face-full of fire. And the second. And the third. Bottom line, Legolas is going down. And if that’s not possible, dragon flies away. They’re nothing if not patient.