Ice Storm

Spell Description
Caster Level(s) Bard 6, Druid 5, Wizard/Sorcerer 4
Innate Level 4
School Evovation
Descriptor(s) Cold
Component(s) Verbal, Somatic
Range Long
Area of Effect / Target Huge
Duration Instant
Save None
Spell Resistance Yes
Additional Counterspells None
Dispel No
Description All creatures in the area of effect take 3d6 points of bludgeoning damage and 2d6 points of cold damage. Ice Storm will do an additional 1d6 cold damage per additional 3 caster levels.

Spell Scripts
Main nw_s0_icestorm

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 ResistSpell function
Before Checks for Absorbtion (Spell mantle), Immunity and SR
After Same as before, just a wrapper for easy later change

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix