Greater Stoneskin

Spell Description
Caster Level(s) Druid 6, Wizard / Sorcerer 6
Innate Level 6
School Transmutation
Descriptor(s) Protection
Component(s) Verbal, Somatic
Range Personal
Area of Effect / Target Caster
Duration 1 Hour / Level
Save Harmless
Spell Resistance No
Additional Counterspells None
Dispel Yes
Description Grants the caster a damage reduction of 20/+5. The spell absorbs 10 points of melee damage per caster level, to a maximum of 150, before fading.

Spell Scripts
Main nw_s0_grstonesk

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++)
Script Change Changed duration of visual effect
Before Duration as long as spell duration
After Only lasts for 10 seconds

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix