Magic Circle

Type ritualSchool abjuration [good/lawful/evil/chaotic]

Casting
Casting Time 30 minutesComponents V, S, M (a 3-ft.-diameter circle of powdered silver)

Effect
Range ritualArea [10/15/20/25/30]-ft. emanation from ritual nodeDuration permanentSaving Throw none; Spell Resistance see text

Description
All creatures within the area gain the effects of a protection spell, and summoned creatures of the chosen alignment cannot enter the area either. Creatures in the area, or who later enter the area, receive only one attempt to suppress effects that are controlling them. If successful, such effects are suppressed as long as they remain in the area. Creatures that leave the area and come back are not protected. You must overcome a creature's Spell Resistance in order to keep it at bay (as in the third function of protection), but the deflection and resistance bonuses and the protection from mental control apply regardless of enemies' Spell Resistance.

You must choose the alignment you are protected from when the ritual is cast. This spell's subtype is of the opposite alignment.