Entropic Shield

Spell Description
Caster Level(s) Cleric 1
Innate Level 1
School Abjuration
Descriptor(s) Consealment
Component(s) Verbal, Somatic
Range Personal
Area of Effect / Target Caster
Duration 1 Turn / Level
Save None
Spell Resistance No
Additional Counterspell(s) None
Dispel Yes
Description A magical field appears around the caster, causing any nearby enemies a 20% chance to miss on ranged attacks.

Spell Scripts
Main x0_s0_entrshield

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++)

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix