Scintillating Pattern

(Player's Handbook v.3.5, p. 274)

Illusion (Pattern) [Mind-Affecting]
Level: Sorcerer 8, Wizard 8, Warmage 8, Beguiler 8, Sha'ir 8,
Components: V, S, M,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Effect: Colorful lights in a 20-ft.-radius spread
Duration: Concentration + 2 rounds
Saving Throw: None
Spell Resistance: Yes

A twisting pattern of discordant, coruscating colors weaves through the air, affecting creatures within it.
The spell affects a total number of Hit Dice of creatures equal to your caster level (maximum 20).
Creatures with the fewest HD are affected first; and, among creatures with equal HD, those who are closest to the spell's point of origin are affected first.
Hit Dice that are not sufficient to affect a creature are wasted.
The spell affects each subject according to its Hit Dice.
6 or less:Unconscious for 1d4 rounds, then stunned for 1d4 rounds, and then confused for 1d4 rounds.
(Treat an unconscious result as stunned for nonliving creatures).
7 to 12: Stunned for 1d4 rounds, then confused for 1d4 rounds.
13 or more: Confused for 1d4 rounds.
Sightless creatures are not affected by scintillating pattern.
Material Component: A small crystal prism.