Death Armor

Spell Description
Caster Level(s) Wizard/Sorcerer 2
Innate Level 2
School Necromancy
Descriptor(s) Magical Armor
Component(s) Verbal, Somatic
Range Personal
Area of Effect / Target Caster
Duration 1 Round / Level
Save None
Spell Resistance No
Additional Counterspell(s) None
Dispel Yes
Description A magical aura surronds the caster -- injuring creatures that touch it. Any creature striking the caster takes 1d4 points of damage +1 point per 2 caster levels (maximum +5).

Spell Scripts
Main x2_s0_dtharm

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 ApplyEffectToObject function
Before Adds a given effect to object
After Same as before, but saves some variables. This is to fix the Dispel spells (Palemaster++)
Description Change Changed Save and spell resistance
Before Will Negates and spell resistance
After No save and no spell resistance
Bugfix Changed call to GetCasterLevel
Before Got caster level of target
After Get caster level of caster (should not be a difference since it is a self only spell...)

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix