"This ranged weapon is less effective at close distances. Your attacks against targets that are at a distance within the range listed take a –2 penalty."
So if something has Volley 30 then...
1. if you're 25 feet away then you get the -2 penalty
2. if you're 35 feet away then you do NOT get the -2 penalty
3. what about 30 feet exactly?
I'm thinking it does get the penalty because otherwise volley 5 wouldn't mean anything, but I wanted to double check.