Spell Description
Caster Level(s) Wizard/Sorcerer 5
Innate Level 5
School Conjuration
Descriptor(s) Acid Gas
Component(s) Verbal, Somatic
Range Long
Area of Effect / Target Large
Duration 1 Round / 2 Levels
Save Fortitude Special
Spell Resistance Yes
Additional Counterspell(s) None
Dispel Yes
Description A billowing cloud of noxious vapors settles over the area. Its effects vary according to the Hit Dice of the affected creatures:
  • 1-3 HD Instant death
  • 4-6 HD Fortitude save or death
  • > 6 HD 1d10 damage/round

Spell Scripts
Main nw_s0_cloudkill
AoE OnEnter nw_s0_cloudkilla
AoE OnExit nw_s0_cloudkillb
AoE Heartbeat nw_s0_cloudkillc

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
Script Change Custom GetSpellSaveDC
Before Returns Save DC of spell: 10 + Spell Level + Spell Focus
After Same as before, just a wrapper to easy add alternate DC for items and maybe more later
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 effect not descripbed in spell description
Before Anyone in the AoE would be slowed 50%
After No slow effect
Bugfix Fixed event about spell effect casted (used by NPC to find out who cast the spell)
Before Sent AoE as caster of spell
After Sends Caster of AoE as spell caster
Bugfix Made 1-3 HD also take damage
Before 1-3 HD did not take damage if immune to death, 4+ HD took damage
After 1-3 HD takes 1d10 acid damage / round, as 4+ HD also still do

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix