Barkskin

Spell Description
Caster Level(s) Druid 2
Innate Level 2
School Transmutation
Descriptor(s) Plant
Component(s) Verbal, Somantic
Range Touch
Area of Effect / Target Single
Duration 1 Hour / Level
Save None
Spell Resistance No
Additional Counterspell(s) None
Dispel Yes
Description Barkskin hardens the target creature's skin, granting a natural armor bonus to Armor Class based on the caster's level:
  • Level 1-6 +3
  • Level 7-12 +4
  • Level 13+ +5

Spell Scripts
Main nw_s0_barkskin

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 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 Changed duration of visual effect
Before Duration as long as spell duration
After Only lasts for 10 seconds


Concept: Ankh_Phoenix and Aremah, Code: Ankh_Phoenix