Epic Repulsion

Abjuration

Spellcraft DC: 52
Components: V, S
Casting Time: 10 minutes
Range: Touch
Target: Object or creature touched
Duration: Permanent
Saving Throw: None
Spell Resistance: Yes
To Develop: 468,000 gp; 10 days; 18,720 XP. Seed: ward (DC 14). Factor: permanent ×5 DC). Mitigating factor: increase casting time by 9 minutes (-18 DC).

You can create a permanent ward against a specific type of creature. Any creature of the specified type cannot attack or touch the warded creature or object. The protection ends if the warded creature makes an attack against or intentionally moves to within 5 feet of a specified creature. Spell resistance can allow a creature to overcome this protection and touch the warded creature.