Hammer of the Gods

Spell Description
Caster Level(s) Cleric 4
Innate Level 4
School Evocation
Descriptor(s) Holy, Light
Component(s) Verbal, Somatic
Range Medium
Area of Effect / Target Huge
Duration Instant
Save Will Partial
Spell Resistance Yes
Additional Counterspells None
Dispel No
Description The caster smites a group of enemies with divine light for 1d8 points of damage for every two caster levels, to a maximum of 5d8. Enemies who fail a Will save are also dazed for 1 to 6 rounds. If the Will save is successfull, the damage is halved.

Spell Scripts
Main nw_s0_hammgods

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
Description Change Added information
Before No info on damage reduced by save
After Info that save will half damage


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix