Spell Description
Caster Level(s) Bard 2, Cleric 3, Wizard/Sorcerer 3
Innate Level 2
School Abjuration
Descriptor(s) Mind-Affecting
Component(s) Somatic
Range Medium
Area of Effect / Target Single
Duration 5 Rounds + 1 Round / level
Save None
Spell Resistance No
Additional Counterspell(s) Charm Person
Dispel Yes
Description This spell removes the effects of Sleep, Confusion, Stun, and Charm, and protects against all mind-affecting effects until it expires. For every effect removed by the spell, the target creature sustains 1 point of damage.

Spell Scripts
Main nw_s0_clarity

Changes/Updates for Thain
Script Change Custom GetCasterLevel function
Before Get the level of the casterclass used or item property
After Get the level of the casterclass used or item property, pluss any modifiers (Palemaster++)
Script Change Custom ApplyEffectToObject function
Before Adds a given effect to object
After Same as before, but saves some variables. This is to fix the Dispel spells (Palemaster++)
Description Change Altered spell duration
Before 1 Turn
After 5 Rounds + 1 Round / Level, as in standard bioware script (extend will not affect the 5 Rounds)

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix