Energy Drain

Spell Description
Caster Level(s) Cleric 9, Wizard/Sorcerer 9
Innate Level 9
School Necromancy
Descriptor(s) Negative
Component(s) Verbal, Somatic
Range Short
Area of Effect / Target Single
Duration Permanent
Save Fortitude Negates
Spell Resistance Yes
Additional Counterspell(s) None
Dispel No
Description The target creature permanently loses 2d4 character levels.

Spell Scripts
Main nw_s0_enedrain

Changes/Updates for Thain
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


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix