Inaccurate?

Bolts of Bedevilment

(Spell Compendium, p. 37)

Enchantment [Mind-Affecting]
Level: Bard 5, Madness 5,
Components: V, S,
Casting Time: 1 Standard Action
Range: Medium (100 ft. + 10 ft./ level)
Effect: Ray
Duration: 1 round/level
Saving Throw: Will negates
Spell Resistance: Yes

With a strangled peal of laughter to complete the spell, you point your hand at your enemy and fire a black beam from your finger.

This spell grants you the ability to make one ray attack per round. You must succeed on a ranged touch attack with the ray to strike a target. A living creature struck by the ray is dazed for 1d3 rounds if it fails its save.