Daze

Spell Description
Caster Level(s) Bard 0, Wizard/Sorcerer 0
Innate Level 0
School Enchantment
Descriptor(s) Mind-Affecting
Component(s) Verbal, Somatic
Range Long
Area of Effect / Target Single
Duration 2 Rounds
Save Will Negates
Spell Resistance Yes
Additional Counterspell(s) Clarity
Dispel Yes
Description If the target humanoid creature has 5 Hit Dice or less, they are dazed for 2 rounds.

Spell Scripts
Main nw_s0_daze

Changes/Updates for Thain
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 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


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix