Ball Lightning

Spell Description
Caster Level(s) Wizard/Sorcerer 5
Innate Level 5
School Evocation
Descriptor(s) Electricity
Component(s) Verbal, Somantic
Range Medium
Area of Effect / Target Single
Duration Instant
Save Reflex 1/2
Spell Resistance Yes
Additional Counterspell(s) None
Dispel No
Description You create a ball of lightning that strikes your target. The damage of the ball is 1d6 per level to a maximum of 15d6.

Spell Scripts
Main x2_s0_balllghtng

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 ResistSpell function
Before Checks for Absorbtion (Spell mantle), Immunity and SR
After Same as before, just a wrapper for easy later change
Script Change Altered to fit spell description
Before Was a lightning version of Missile Storm. Max 15 missiles, 1d6 dmg pr.
After Matches spell description


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix