Loathsome Veil

Illusion (Pattern) [mind-affecting]
Level: Artificer * 3, Sorcerer */Wizard * 3, Warlock * 3
Components: V, S, M (a tangle of multicolored threads)
Casting Time: 1 Standard Action
Range: close (25 ft. + 5 ft./2 levels)
Effect: transparent pattern 40 ft. long, 20 ft. high
Duration: concentration + 1 round/level (D)
Saving Throw: Will negates
Spell Resistance: yes
  This spell creates a transparent veil of shifting, multicolored strands of light that form into endlessly varied and alien patterns. One side of the veil, chosen by you at the time of casting, is harmless. The other side twists and turns into impossible shapes, affecting any creature with 60 feet who views the veil. The veil affects a maximum of 24 Hit Dice of creatures. Creatures with the fewest Hit Dice are affected first.
  Among creatures with equal Hit Dice, those who are closest to the spell are affected first. The effect is according to the creature's Hit Dice.
  4 Hit Dice or fewer: The creature is Nauseated while it can see the veil, Nauseated for 1d4 rounds after it last saw the veil, then Sickened for 2d4 rounds after it last saw the veil.
  8 Hit Dice or fewer: The creature is Nauseated for 1d4 rounds, Sickened while it can see the veil, then Sickened for 1d4 rounds after it last saw the veil.
  9 or more Hit Dice: The creature is Sickened while it can see the veil.
  A successful saving throw ignores all effects of the veil.
  Sightless creatures are not affected by loathsome veil.
  Affected creatures can avert or close their eyes to avoid seeing the veil, similar to avoiding a Gaze Attack.
  Loathsome veil can be made permanent with the permanency spell by a caster of 10th level or higher for the cost of 7,500 gp.