Inaccurate?

Ray of Light

(Spell Compendium, p. 167)

Evocation [Light]
Level: Bard 6, Sorcerer 6, Wizard 6,
Components: V, S,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Effect: Ray
Duration: Instantaneous
Saving Throw: None
Spell Resistance: Yes

Your palm emits a ray of light. The ray gives off a soft, continuous glow.

You direct a short ray at the eyes of a target. You must succeed on a ranged touch attack with the ray to strike a target. With a successful ranged touch attack, the subject is blinded for 1d4 rounds.