I was fighting defensively (15-17) In a melee (+4 against ranged, 21  - they could have that feet but I don't think it really applies when they are IN A 30 FOOT PIT which has at the very least have to apply cover - I mean I can't imagine with me ten feet back (Not including the soft cover for being just behind a third archer if I understood your 'yes they are within 10 feet of eachother' post correctly) they would be able to see more than half of me so that would be 25 and the Javelin has a range of 30' so it is yet annother -2 [I would almost call it a -4 as you would have to throw the thing in an arc at over 60 feet in order to have the javelin not hit the wall]) So thats a 25 AC with their attack getting a -2 penalty (probably more realistically a -4 again) For them having to have rolled a 27-29 if their BAB is 10 (which with 8 creatures they probably are somewhere in the realms of 7-8 ) And dex mod + 6 that's still a roll of 14 -16 to hit depending on whether you think the javelins need one or two range penalties. Forgive me for being skeptical that that hit me... But please recheck to see if that did in fact hit