Evil Blight (Item Property)

Spell Description
Caster Level(s) Cleric 5, Wizard/Sorcerer 6
Innate Level 5
School Transmutation
Descriptor(s) Divine
Component(s) Verbal
Range Medium
Area of Effect / Target Colossal
Duration Permanent
Save Will negates
Spell Resistance Yes
Additional Counterspell(s) Remove Curse
Dispel No
Description All enemies within the area of effect have a curse placed on them lowering all of their stats by 3.

Spell Scripts
Main x2_s0_evilblight

Changes/Updates for Thain
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 Added delay to effects in loop
Before No delay on effects in loop (may cause infinite loop)
After Effects added in loop delayed


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix