Spells that do not require an attack roll do not suffer from miss chances. You can target anything you can see. To determine what exactly you can see, you use a Spot check. The modifiers are on the page listed above. Don't forget the -1 per 10' distance.
[house rule]
The given base DC of 20 is for spotting something when you don't know it exists; IMO, that's very high for picking out a target you've already engaged. To target an enemy in the dark, if you know the general area to look in, I use a base DC of 0 (modified by light conditions and distance). YMMV.
[/house rule]