So 5 dex and 4 BAB? Sorching ray is a ranged touch attack, it suffers the same penality for a ranged attack. So shooting into melee gives it a -4 to hit, unless you have precise shot.<br/><br/>For a touch attack, you roll BAB+dex.