If you try to target something/someone inside the pit while you're standing on top of it, it will be "target is not on line of sight".. Practically the party lure divebombs there and let the aoe occurs on the pit, so when you're getting out of the pit you're out of divebomb's LoS.. Aphel explains it better..