Energy Buffer

Spell Description
Caster Level(s) Bard 6, Druid 6, Wizard/Sorcerer 5
Innate Level 5
School Abjuration
Descriptor(s) Protection
Component(s) Verbal, Somatic
Range Personal
Area of Effect / Target Caster
Duration 1 Turn / Level
Save Harmless
Spell Resistance No
Additional Counterspell(s) None
Dispel Yes
Description The caster gains damage resistance 40/- against all elemental forms of damage. The spell ends after absorbing 60 points of damage from any single elemental type.

Spell Scripts
Main nw_s0_enebuffer

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++)
Script Change Changed duration of visual effect
Before Duration as long as spell duration
After Only lasts for 10 seconds


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix