Spell Description
Caster Level(s) Cleric 1
Innate Level 1
School Enchantment
Descriptor(s) Mind-Affecting
Component(s) Verbal, Somantic
Range Long
Area of Effect / Target Colossal
Duration 1 Turn / Level
Save Will negates
Spell Resistance Yes
Additional Counterspell(s) Bless
Dispel Yes
Description Bane fills the caster's enemies with fear and doubt. They suffer a -1 penalty on their attack rolls and a -1 penalty on saving throws against fear.

Spell Scripts
Main x2_s0_bane

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 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 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 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 Removed possible debug message
Before When target immune, the caster would whisper a message telling this
After No whisper when target is immune to spell

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix