Nightmare Spinner

The nightmare spinner can reach into the darkest recesses of the mind, draw forth his victim's nightmares, and make them seem all too real.
==== Requirements ====
Skills: Bluff 1 ranks , Intimidate 1 ranks , Sense Motive 1 ranks
Spellcasting: Ability to cast 3rd-level arcane spells; ability to cast at least one fear spell and at least one mind-affecting illusion spell.
==== Hit die ====
d4
==== Skill points ====
4 + Int
==== Class Features ====
Spellcasting: At each level beyond 1st, you gain new spells per day and an increase in caster level (and spells known, if applicable) as if you had also gained a level in an arcane spellcasting class to which you belonged before adding the prestige class level. You do not, however, gain any other benefit a character of that class would have gained. If you had more than one arcane spellcasting class before becoming a nightmare spinner, you must decide to which class to add each level for the purpose of determining spells per day, caster level, and spells known.
Bonus Spells (Ex): If you normally prepare spells, you can prepare and cast one additional illusion spell per spell level each day. This ability works just like (and stacks with) a specialist wizard's extra school spell.
If you don't need to prepare spells, you gain one extra spell slot per spell level, which can be used only to cast an illusion spell.
Immunity to Fear (Su): Beginning at 1st level, you gain immunity to all fear effects.
Inspire Fear (Su): As a standard action, you can create a mind-affecting fear effect that makes a living creature within 30 feet ill at ease. The target becomes shaken for a number of rounds equal to your nightmare spinner class level; a successful Will save (DC 10 + your class level + your Cha modifier) halves this duration.
You can use this power a number of times per day equal to 3 + your Cha modifier. Multiple uses of this ability on the same creature don't stack.
Nightmare Phantasm (Su): Beginning at 2nd level, when you cast a figment or glamer spell, you can choose to weave a thread of nightmare phantasm into it as a free action. The spell gains the phantasm descriptor. Each time any enemy attempts a Will save to disbelieve the affected illusion spell, a tiny portion of the spell transforms into a phantasm effect that targets that enemy. The enemy becomes shaken for 1 round (no save). This ability has no other effect on the original spell's duration or effectiveness.
You can use this ability a number of times per day equal to 3 + your Cha modifier. No creature can be affected by your nightmare phantasm ability more than once in a 24-hour period. This is a mind-affecting fear effect.
Spirit Chill (Su): Beginning at 3rd level, creatures affected by a fear effect you cause (whether by a spell, class feature, or other effect) take nonlethal damage as well, depending on the potency of the fear created. Any creature that is shaken takes 1d6 points of nonlethal damage. A creature that becomes frightened takes 2d6 points of nonlethal damage,while a creature that becomes panicked takes 3d6 points of nonlethal damage.
Deadly Nightmare (Su): At 5th level, you can create a mind-affecting fear effect that can make a living creature literally drop dead. You can target one living creature within 30 feet of you, which must succeed on a Will save (DC 10 + your class level + your Cha modifier) or literally die of fright. Even if the save succeeds, the subject is panicked for 1 round. Any creature whose Hit Dice exceed twice your character level is unaffected by this power. This is a mind-affecting fear death effect. You can use this power three times per day.
=== Advancement ===
Level	BAB	Fort	Ref	Will	Special 	Spellcasting
1st 	+0 	+0 	+0 	+2 	Bonus spells, immunity to fear, inspire fear	—
2nd 	+1 	+0 	+0 	+3 	Nightmare phantasm 	+1 level of existing arcane spellcasting class
3rd 	+1 	+1 	+1 	+3 	Spirit chill 	+1 level of existing arcane spellcasting class
4th 	+2 	+1 	+1 	+4 	— 	+1 level of existing arcane spellcasting class
5th 	+2 	+1 	+1 	+4 	Deadly nightmare 	+1 level of existing arcane spellcasting class
=== Class skills ===
Skill name 	Key ability	Trained only	Armor check penalty
Bluff 	CHA 	 	
Concentration 	CON 	 	
Decipher Script 	INT 	 	
Diplomacy 	CHA 	 	
Intimidate 	CHA 	 	
Knowledge (arcana) 	INT 	 	
Knowledge (architecture and engineering)	INT 	 	
Knowledge (dungeoneering) 	INT 	 	
Knowledge (geography) 	INT 	 	
Knowledge (history) 	INT 	 	
Knowledge (local) 	INT 	 	
Knowledge (nature) 	INT 	 	
Knowledge (nobility and royalty) 	INT 	 	
Knowledge (psionics) 	INT 	 	
Knowledge (religion) 	INT 	 	
Knowledge (the planes) 	INT 	 	
Profession 	WIS 	 	
Search 	INT 	 	
Sense Motive 	WIS 	 	
Spellcraft 	INT