Divine Oracle

Some mortals hear the words of deities; these can be divine oracles.
==== Requirements ====
Skills: Knowledge (religion) 5 ranks
Feats: Skill Focus (Knowledge [religion])
Spells: Able to cast at least 2 divination spells.
==== Hit die ====
d6
==== Skill points ====
2 + Int
==== Class Features ====
Weapon and Armor Proficiency: Divine oracles gain no weapon or armor proficiencies.
Spells per Day/Spells Known: A divine oracle continues advancing in spellcasting ability as well as gaining the abilities of her new class. Thus, when a new divine oracle level is gained, the character gains new spells per day (and spells known, if applicable) as if she had also gained a level in whatever spellcasting class she belonged to before she added the prestige class. She does not, however, gain any other benefit a character of that class would have gained (improved chance of controlling or rebuking undead, wild shape ability, and so on). This essentially means that she adds the level of divine oracle to the level of whatever other spellcasting class the character has, then determines spells per day accordingly.
If a character had more than one spellcasting class before she became a divine oracle, the player must decide which class to assign each level of divine oracle for the purpose of determining spells per day and spells known.
Oracle Domain: Upon adopting the divine oracle class, the character gains access to the Oracle domain, described in Chapter 7: Domains and Spells. The character gains the granted power associated with the domain (+2 caster level for divination spells), and can choose the spells in that domain as her daily domain spells.
Scry Bonus (Su): A divine oracle adds a +1 sacred bonus to the save DC of all her divination (scrying) spells.
Prescient Sense (Ex): Beginning at 2nd level, if a divine oracle makes a successful Reflex saving throw against an attack that normally inflicts half damage on a successful save (such as a red dragon’s fiery breath or a fireball spell), she instead takes no damage, since her prescience allowed her to get out of the way faster. This form of evasion works no matter what armor the divine oracle wears, unlike the evasion ability used by monks and rogues.
Trap Sense (Ex): At 2nd level, the divine oracle gains an intuitive sense that alerts her to danger from traps, giving her a +1 bonus on Reflex saves made to avoid traps and a +1 dodge bonus to AC against attacks by traps. This increases to +2 at level 5 and +3 at level 8.
Divination Enhancement (Ex): Beginning at 3rd level, a divine oracle may roll twice and take the better result when using divination spells such as augury or divination.
Uncanny Dodge (Ex): Starting at 4th level, a divine oracle gains the ability to react to danger before her senses would normally allow her to do so. The divine oracle retains her Dexterity modifier to AC (if any) regardless of being caught flat-footed or struck by an invisible attacker. (She still loses her Dexterity modifier to AC if immobilized.)
Improved Uncanny Dodge (Ex): At 6th level and higher, the divine oracle can no longer be flanked, since she can react to opponents on opposite sides of her as easily as she can react to a single attacker. This defense denies rogues the ability to use flank attacks to sneak attack the divine oracle. The exception to this defense is when an attacker has at least 4 more rogue levels than the target has divine oracle levels.
If a character already has levels of a class that could gain uncanny dodge, the levels from the classes that grant uncanny dodge stack to determine the minimum level a rogue must be to flank the character.
Immune to Surprise (Ex): At 10th level, the divine oracle’s sensitivity to danger is so great that she is never surprised. She can always take a standard action during a surprise round, unless she is physically restrained from doing so. If there is no surprise round then this ability doesn’t help.
=== Advancement ===
Level	BAB	Fort	Ref	Will	Special 	Spellcasting
1st 	+0 	+0 	+0 	+2 	Oracle domain, scry bonus 	+1 level of existing spellcasting class
2nd 	+1 	+0 	+0 	+3 	Prescient sense, trap sense +1 	+1 level of existing spellcasting class
3rd 	+1 	+1 	+1 	+3 	Divination enhancement 	+1 level of existing spellcasting class
4th 	+2 	+1 	+1 	+4 	Uncanny dodge (Dex bonus to AC) 	+1 level of existing spellcasting class
5th 	+2 	+1 	+1 	+4 	Trap sense +2 	+1 level of existing spellcasting class
6th 	+3 	+2 	+2 	+5 	Improved uncanny dodge (can’t be flanked)	+1 level of existing spellcasting class
7th 	+3 	+2 	+2 	+5 	— 	+1 level of existing spellcasting class
8th 	+4 	+2 	+2 	+6 	Trap sense +3 	+1 level of existing spellcasting class
9th 	+4 	+3 	+3 	+6 	— 	+1 level of existing spellcasting class
10th 	+5 	+3 	+3 	+7 	Immune to surprise 	+1 level of existing spellcasting class
=== Class skills ===
Skill name 	Key ability	Trained only	Armor check penalty
Concentration 	CON 	 	
Craft 	INT 	 	
Heal 	WIS 	 	
Intimidate 	CHA 	 	
Knowledge (arcana) 	INT 	 	
Knowledge (religion)	INT 	 	
Profession 	WIS 	 	
Spellcraft 	INT