Flame Arrow

Spell Description
Caster Level(s) Wizard/Sorcerer 3
Innate Level 3
School Conjuration
Descriptor(s) Fire
Component(s) Verbal, Somatic
Range Medium
Area of Effect / Target Single
Duration Instant
Save Reflex 1/2
Spell Resistance Yes
Additional Counterspell(s) None
Dispel No
Description The caster launches 1 conjured fiery arrow at the target creature for every 4 caster levels. Each arrow does 4d6 points of damage.

Spell Scripts
Main nw_s0_flmarrow

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 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
Bugfix Fixed effective spell level against spell mantles
Before 3 * number of arrows
After 3
Bugfix Changed damage to match spell description
Before 4d6 + 1
After 4d6

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix