Inaccurate?

Whelm, Mass

(Player's Handbook II)

Enchantment (Compulsion) [Mind-Affecting]
Level: Beguiler 4, Sorcerer 4, Wizard 4,
Components: V, S,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Target: One living creature/level
Duration: Instantaneous
Saving Throw: Will negates
Spell Resistance: Yes

With a sweep of your arm, creatures reel as an invisible surge of magical power invades their minds.
This spell functions like whelm, except that it affects multiple targets and it deals 1d6 points of nonlethal damage per caster level to each subject, to a maximum of 10d6 at 10th level.