Elemental Swarm

Spell Description
Caster Level(s) Druid 9
Innate Level 9
School Conjuration
Descriptor(s) Air, Earth, Fire, Water
Component(s) Verbal, Somatic
Range Medium
Area of Effect / Target Point
Duration Special
Save None
Spell Resistance No
Additional Counterspell(s) Dismissal
Dispel No
Description The caster summons an air elemental to act as a loyal servant until it dies or until the spell expires. If the air elemental dies before the spell ends, a water elemental is automatically summoned to replace it. This process continues with an earth and fire elemental until the spell expires. After the fire elemental, no more are summoned.

Spell Scripts
Main nw_s0_eleswarm

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 Changed the duration of summon spells
Before 24 hours
After 9 - Spell Level + Caster Level + Spell Focus Conjuration + Item modifiers Rounds

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix