Spell Description
Caster Level(s) Bard 1, Druid 1, Ranger 1, Wizard/Sorcerer 1
Innate Level 1
School Conjuration
Descriptor(s) Movement
Component(s) Verbal, Somatic
Range Short
Area of Effect / Target Medium
Duration 2 Rounds + 1 / 3 Levels
Save Reflex
Spell Resistance Yes
Additional Counterspells Freedom of Movement
Dispel Yes
Description A churning field of oil and grease fills the target area, causing all within to either fall down or move at a reduced speed.

Spell Scripts
Main nw_s0_grease
OnEnter nw_s0_greasea
OnExit nw_s0_greaseb
OnHeartBeat nw_s0_greasec

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 Dispel of AoE changed to fit description of dispel
Before Base Chance: Lesser - 25%, Dispel - 50%, Greater -75%, Mordenkainens - 100 %.
Chance modified by caster level: Base Chance + ( CLevel + CMod ) - ( 10 + CMod ) * 2
NPC caster: Modified chance + 30
Caster of spell that is being atempted to dispel: Chance = 100%
DM trying to dispel: Chance = 100%
After Dispel Roll: d20 + CLevel. Where CLevel is capped: Lesser - 5, Dispel - 10, Greater - 15, Mordenkainens - No cap
Dispel DC: 11 + CLevel of caster of spell
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 immunity check
Before Was checking AoE object for incorporeal status
After Checks target creature object for incorporeal status

Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix