Creeping Doom

Spell Description
Caster Level(s) Druid 7
Innate Level 7
School Conjuration
Descriptor(s) Summon Insect
Component(s) Verbal, Somatic
Range Medium
Area of Effect / Target Large
Duration 1 Round / Level
Save None
Spell Resistance No
Additional Counterspell(s) None
Dispel Yes
Description The caster summons a mass of biting and stinging insects which causes 1d6 points of damage. For every subsequent round that a creature remains within the area of effect, the damage inflicted is increased by an increment of 1d6 (i.e. 1d6 for the first round, 2d6 for the second, 4d6 for the third, 7d6 for the fourth, and so on). The spell deals damage until its duration expires or it deals 1,000 points of damage.

Spell Scripts
Main nw_s0_crpdoom
AoE OnEnter nw_s0_crpdooma
AoE OnExit nw_s0_crpdoomb
AoE Heartbeat nw_s0_crpdoomc

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 Dispel of AoE changed to fit description of dispel
Before Base Chance: Lesser - 25%, Dispel - 50%, Greater -75%, Mordenkainens - 100 %.
Chance modified by caster level: Base Chance + ( CLevel + CMod ) - ( 10 + CMod ) * 2
NPC caster: Modified chance + 30
Caster of spell that is being atempted to dispel: Chance = 100%
DM trying to dispel: Chance = 100%
After Dispel Roll: d20 + CLevel. Where CLevel is capped: Lesser - 5, Dispel - 10, Greater - 15, Mordenkainens - No cap
Dispel DC: 11 + CLevel of caster of spell
Bugfix Removed effects not mentioned in spell description
Before Anyone inside AoE was slowed by 50%
After No slow effect
Bugfix Changed initial damage
Before 1d20
After 1d6, as per spell description
Bugfix Altered damage per round to match spell description
Before 1d6 in first round, 2d6 in second, 3d6 in third, 4d6 in fourth, etc
After See spell description
Bugfix Removed spell resistance check
Before Possible to resist spell with SR
After No spell resistance, as per spell description

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix