// Spell database file
// The line above **must** be the first line of the spells file!!!
//
//	Total validation is performed when reading this data. Nothing you do can cause the program to crash.  It may spit error messages and quit for lack of something decent to do but it will not crash or do unexpected things. It shouldn't anyway. If it does, please let us know.
//
//	The first item has the name "template" and will be ignored.  You can use it as a 'template'.  Copy it to the bottom of the file and edit the copy to add your item to the database.
//
//	Each line is of the form    name = value (value may be omitted)
//	eg:   
//		Special Ability = 
//	This line will be interpreted as setting 'Special Ability' to the empty string.  This is commonly the default so in many cases it is the same as omitting the line entirely.
//
//	White space is a bit important.  Because names and values can contain blanks.  So the rule is....leading and trailing whitespace are ignored.  So, for example:
//		attack bonus         =     3         <cr>
//		attack bonus=3<cr>
//	are equivalent.  But
//		attack    bonus = 3
//		attack bonus = 3
//	are different.
//
//	Lines starting with two slashes are comment lines.  Like this one.
//
//	Attribute names are case-insensitive.  
//		Name = Wimpy Axe
//		namE = Wimpy Axe
//		NAME = Wimpy Axe
//	are equivalent.
//	Text values retain their case.  Values with enumerated possibilities are case-insensitive.  Example  cLaSs = PaLaDiN     + FiGhTeR+ThIeF
//
//	File names can use the UNIX syntax with slashes because the backslash is used to escape special characters and it gets ugly to put double backslashes everywhere.  If you like to use backslashes you may. We will accept either.  Even mixed in a single filename.
//	Example:    C:/UAF\\src\\guild of ravens/release1/beta\\art/barkeep.bmp
//
//	Item definitions are delimited by \(BEGIN) ........ \(END) which must start in column 1.  This ain't free format. You get what you pay for.  
//
//  ************ Now for the interesting part  ***********
//
//	Each spell is defined by the following fields:
//
// Name (text, required)
//	Each spell must have a uniue name.  You may add a 
//	qualifier to a name (separated with a vertical bar) 
//	to make it unique.  For example:
//		Dimwittify
//		Dimwittify|sorta
//		Dimwittify|really
//
//	The qualifier is only used when editing a design.  The 
//	qualifier is discarded when the binary files for the 
//	design are created. But the unique name is necessary 
//	during the design stage to allow unambiguous references 
//	to the spells.  During gameplay they are identified 
//	by a binary integer 'key' so there is no confusion 
//	between the three Dimwittifies even though they are 
//	all printed as 'Dimwittify'.
//	default - all blanks (which makes the entire spell a comment)
//	eg:		name = subliminal flash
//
// casting sound (file name, or "none", or "Default")
//	default - DEFAULT
//	eg:		casting sound = sound_SpellZap.wav
//
// cast Msg (text)
//	This is the text displayed when the spell is cast. You 
//	can substitute the names of the target, caster, and 
//	spell by using /t, /c, and /s
//	default - none
//	eg:		/c blasts /t with /s
//
// missile sound (file name, or "none", or "Default")
//	default - DEFAULT
//	eg:		missile sound = sound_SpellSlap.wav
//
// coverage sound (file name, or "none", or "Default")
//	default - DEFAULT
//	eg:		coverage sound = sound_IceStorm.wav
//
// hit sound (file name, or "none", or "Default")
//	default - DEFAULT
//	eg:		hit sound = sound_SpellHit.wav
//
// linger sound (file name, or "none", or "Default")
//	default - DEFAULT
//	eg:		linger sound = sound_HangingAround.wav
//
// cast art (filename, DEFAULT or none)
// Displayed over caster when spell is cast
// comma-separated text: 
//    filename, delay, num frames, frame width, frame height, style, MaxLoops, flags
//    filename - name of file
//    delay in millisecs where 1 sec=1000 ms (must be 0 for spells)
//    num frames is total frames in image
//    width is pixel width of single frame in image
//    height is pixel height
//    style is animation style, must be 0 for spells
//    MaxLoops is the max nbr times the animation will loop, if looping enabled by flags
//    flags is animation properties where: (flags are additive)
//        0=none
//        1=not used for spells
//        2=loop only nbr times in Max Loops
//        4=loop this animation
//        flags can be combined, as in 4+2=6 gives looping (4) and uses MaxLoops (2)
//	default - DEFAULT
// eg:		cast art = spell_Fireball.png,0,1,16,16,0,0,0
//
// missile art (filename, DEFAULT or none)
// Displayed over caster when spell is cast
// comma-separated text: 
//    filename, delay, num frames, frame width, frame height, style, MaxLoops, flags
//    filename - name of file
//    delay in millisecs where 1 sec=1000 ms (must be 0 for spells)
//    num frames is total frames in image
//    width is pixel width of single frame in image
//    height is pixel height
//    style is animation style, must be 0 for spells
//    MaxLoops is the max nbr times the animation will loop, if looping enabled by flags
//    flags is animation properties where: (flags are additive)
//        0=none
//        1=not used for spells
//        2=loop only nbr times in Max Loops
//        4=loop this animation
//        flags can be combined, as in 4+2=6 gives looping (4) and uses MaxLoops (2)
//	default - DEFAULT
// eg:		cast art = spell_Fireball.png,0,1,16,16,0,0,0
//
//// target cover art (filename, DEFAULT or none)
// Displayed over caster when spell is cast
// comma-separated text: 
//    filename, delay, num frames, frame width, frame height, style, MaxLoops, flags
//    filename - name of file
//    delay in millisecs where 1 sec=1000 ms (must be 0 for spells)
//    num frames is total frames in image
//    width is pixel width of single frame in image
//    height is pixel height
//    style is animation style, must be 0 for spells
//    MaxLoops is the max nbr times the animation will loop, if looping enabled by flags
//    flags is animation properties where: (flags are additive)
//        0=none
//        1=not used for spells
//        2=loop only nbr times in Max Loops
//        4=loop this animation
//        flags can be combined, as in 4+2=6 gives looping (4) and uses MaxLoops (2)
//	default - DEFAULT
// eg:		cast art = spell_Fireball.png,0,1,16,16,0,0,0
//
// targt hit art (filename, DEFAULT or none)
// Displayed over caster when spell is cast
// comma-separated text: 
//    filename, delay, num frames, frame width, frame height, style, MaxLoops, flags
//    filename - name of file
//    delay in millisecs where 1 sec=1000 ms (must be 0 for spells)
//    num frames is total frames in image
//    width is pixel width of single frame in image
//    height is pixel height
//    style is animation style, must be 0 for spells
//    MaxLoops is the max nbr times the animation will loop, if looping enabled by flags
//    flags is animation properties where: (flags are additive)
//        0=none
//        1=not used for spells
//        2=loop only nbr times in Max Loops
//        4=loop this animation
//        flags can be combined, as in 4+2=6 gives looping (4) and uses MaxLoops (2)
//	default - DEFAULT
// eg:		cast art = spell_Fireball.png,0,1,16,16,0,0,0
//
// target linger art (filename, DEFAULT or none)
// Displayed over caster when spell is cast
// comma-separated text: 
//    filename, delay, num frames, frame width, frame height, style, MaxLoops, flags
//    filename - name of file
//    delay in millisecs where 1 sec=1000 ms (must be 0 for spells)
//    num frames is total frames in image
//    width is pixel width of single frame in image
//    height is pixel height
//    style is animation style, must be 0 for spells
//    MaxLoops is the max nbr times the animation will loop, if looping enabled by flags
//    flags is animation properties where: (flags are additive)
//        0=none
//        1=not used for spells
//        2=loop only nbr times in Max Loops
//        4=loop this animation
//        flags can be combined, as in 4+2=6 gives looping (4) and uses MaxLoops (2)
//	default - DEFAULT
// eg:		cast art = spell_Fireball.png,0,1,16,16,0,0,0
//
// school (Cleric, Druid, Magic User or user defined)
//	Only one school allowed, this determines which 
//	school of magic the spell belongs to
//	default - Cleric
//	eg:		school = Cleric
//
// cast by (baseclass name)
//	The baseclass which can cast use this spell.
//	Multiple baseclass use multiple instances of the keyword,
//	one per line.
//	default - cleric
//	eg:		Cast by = ranger
//
// can target friend (yes/no)
//	Can this spell be cast on a party member?
//	default - no
//	eg:     can target friend = yes
//
// can target enemy (yes/no)
//	Can this spell be cast on enemies in combat?
//	default - yes
// eg:     can target enemy = yes
//
// Cumulative (yes/no)
//	Will this spell affect a target that already has the 
//	same spell active?
//	default - yes
//	eg: 		cumulative = yes
//
// Usable By Party (yes/no)
//	Can party members memorize and cast this spell? If not, 
//	only monsters/NPCs can use it.
//	default - yes
//	eg:     can memorize = yes
//
// can Scribe (yes/no)
//	Should this spell be made available for scribing by MU at level change? 
//  eg:     allow scribe = no
//
// auto Scribe (yes/no)
//	MagicUsers are automatically given spells with this property enabled when
//	they advance to a new level (or start anew at level 1)
//	default - no
//	eg:     auto scribe = no
//
// in camp (yes/no)
//	Can the spell be used in camp?
//	eg:		in camp = yes
//
// in combat (yes/no)
//	Can the spell be used in combat?
//	eg:		in combat = no
//
// can be dispelled (yes/no)
//	Can this spell be dispelled?
//	eg:		can be dispelled = yes
//
// lingers (yes/no)
//	Does the spell linger on the combat map?
//	eg:		lingers = no
//
// linger affects once (yes/no)
//	Does the lingering effect affect the ocmbatant
//	only once?
//	eg:		linger affects once = no
//
// save Versus ("Par/Pois/DM" or "Pet/Poly" or "Rod/Staff/Wand" 
//	or "spell" or "Breath Weapon"
//	Par/Pois/DM = Paralysis/Poison/DeathMagic
//	Pet/Poly = Petrification/Polymorph
//	Determines which table of saving throws will be used 
//	default - spell
//	eg:     save versus = Pet/Poly
//
// save result (none, Negates, Half Damage, Use THAC0)
//	What should a made Saving Throw do?
// default - none
// eg:     save result = half damage
//
// Special Ability (SA name)
//	each listed Special Ability corresponds to the 
//	Special Ability database.
//	Each Special Ability is listed on a new line
//	with a separate instance of the keyword.
//	eg:		Special Ability = spell_PoisonousBite
// 
// targeting type (self, selectByCount, party, touch, 
//	areacircle, SelectByHitDice,arealinepickstart, 
//	arealinepickend, areasquare, areacone)
// default - self
// eg:     targeting type = areacircle
//
// target width (integer)
//	default - 0
//	eg:		target width = 0
//
// target height (integer)
//	default - 0
//	eg:		target height = 0
//
// target range (integer)
//	default - 0
//	eg:		target range = 5
//
// level (integer 1-9)
//	default - 1
//	eg:     level = 4
//
// casting time (integer)
//	default - 1
// eg:     casting time = 2
//
// casting time units ( Immediate, Initiative, Rounds, Turns )
//	default - Immediate
//	eg:  casting time units = rounds
//
// Duration units (rounds, damage taken, hours, days, or instantaneous)
// default - rounds
// instantaneous equates to permanent, the spell effect never expires
// eg:     duration units = days
//
// target quantity  ( <num dice> d <sides> + <bonus> [+ <bonus>*level] [>| <maximum>]
// default - 0d0
// eg:     target quantity = 2d4 - 2 + level >| 2
// eg:     target quantity = 1d4 - 1
//
// Duration  ( <num dice> d <sides> + <bonus> [+<bonus>*level] [>| <maximum>]
// default - 0d0
// eg:     Duration = 2d6 + 1 >| 4
//
// Target Range  ( <num dice> d <sides> + <bonus> [+<bonus>*level] [>| <maximum>]
// default - 0d0
// eg:     target range = 2d4 + 0 + level
//
// Price (integer, base coin unit), charged by temple priest in temple event (integer)
// default - zero
// eg:     price = 200
//
// Spell Effect
// Specify which character attributes are modified by this spell. To modify multiple
// attributes, add multiple 'spell effect' lines.
//  
// Format:
// Attribute,Change Amount(diceplus format),Change Units, Targeting, Cumulative, Script1, Script2, Script3
//
//    Attribute = attribute keyword affected, such as $CHAR_THACO
//    Change Amount = how much to change attribute value, such as 1d4 + level + 2
//           This is a signed number. To decrease the current value, use a
//           negative Change Amount.
//    Change Units = 'delta', 'percent', or 'absolute'.
//           Delta value is added to current value
//           Percent changes current value by given percentage
//           Absolute changes current value to given value
//    Targeting = 'target','targeter','alltargettypes'
//           target = affects spell target
//           targeter = affects whomever targets the spell target (combat only)
//           alltargettypes = all of the above
//    Cumulative = 'yes' or 'no', will this attribute change have affect if
//                 same attribute already modified from same or different spell?
//    Script1 = optional, A GPDL script that is evaluated at runtime to determine if
//             spell will affect targets.
//    Script2 = optional, A GPDL script that is evaluated at runtime to determine how
//              the Change Amount is modified based on current game data.
//    Script3 = optional, A GPDL script that is evaluated at runtime to determine how
//              the saving throw of the spell target is modified based on current game data
//    Script4 = optional, A GPDL script that is evaluated at runtime - but only if the spell target
//              failed the saving throw.
//
//    Scripts are optional and can be left blank. However, if Script3 is used and the others
//    are not, placeholder commas must be used.
// Examples:
//  spell effect 1 = $CHAR_AC, 1d4+2, delta, target, yes
//  spell effect 2 = $CHAR_THACO, 1d6, percent, alltargettypes, no
//
//  next one shows Script1 and Script2 as being empty, while Script3 is not
//
//  spell effect = $CHAR_THACO, 1d6, percent, alltargettypes, no,,,$RETURN true;
//

\(BEGIN)
name = template
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
Cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = no
auto scribe = no
in combat = yes
in camp = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
targeting type = self
level = 0
casting time = 0
casting time units = initiative
target quantity = 
duration = 
duration units = instantaneous
target duration = 
target range = 
price = 0
spell effect 1 = none
begin script = 
end script = 
\(END)

// cleric spells
// cleric level 1

\(BEGIN)
name = Bless
casting sound = sound_Cast.wav
cast msg = /c blesses /t.
missile sound = none
coverage sound = none
hit sound = sound_hit_Bless.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Bless.png,150,2,48,48,0,1,4,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Bless,cleric
targeting type = areasquare
target width = 5
target height = 5
target range = 6
level = 1
casting time = 10
casting time units = initiative
duration = 6
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_MORALE,1,delta,target,yes
activate script 1 = $VAR mySide;mySide \= $GET_COMBATANT_SA($AttackerContext(),"side");$IF (mySide !\= "-?-?-")  {   $IF (mySide !\=# $GET_COMBATANT_SA($TargetContext(),"side"))     {$RETURN;};   $IF ($VisualDistance($IndexOf($TargetContext()),$IndexOf($NEAREST_ENEMY_TO($TargetContext()))) <# 2)     {$RETURN;};  };$RETURN 1;
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Light Wounds
casting sound = sound_Cast.wav
cast msg = /c casts Cause Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 1
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Light Wounds
casting sound = sound_Cast.wav
cast msg = /c casts Cure Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_CureLightWounds.png,200,11,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixCure,cleric
targeting type = touch
target quantity = 1
level = 1
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Curse
casting sound = sound_Cast.wav
cast msg = /c curses /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,99,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Curse.png,60,2,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,curse
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_CurseMinor,cleric
targeting type = areasquare
target width = 5
target height = 5
target range = 6
level = 1
casting time = 1
casting time units = rounds
duration = 6
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_MORALE,-1,delta,target,yes
activate script 1 = $VAR mySide;mySide \= $GET_COMBATANT_SA($AttackerContext(),"side");$IF (mySide \=\=# $GET_COMBATANT_SA($TargetContext(),"side")) {$RETURN;};$RETURN 1;
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Detect Magic|Cleric
casting sound = sound_Cast.wav
cast msg = /t is detecting magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_DetectMagic,cleric
Special Ability = time,10
targeting type = self
level = 1
casting time = 1
casting time units = rounds
duration = 10
duration units = rounds
target duration = 0
price = 100
priority = 500
spell effect 1 = $CHAR_DETECTMAGIC,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil|Cleric
casting sound = sound_Cast.wav
cast msg = /t is protected from evil.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_ProtectionFromEvil,cleric
targeting type = touch
target quantity = 1
level = 1
casting time = 4
casting time units = initiative
duration = 3*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Good|Cleric
casting sound = sound_Cast.wav
cast msg = /t is protected from good.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,2,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_ProtectionFromGood,cleric
targeting type = touch
target quantity = 1
level = 1
casting time = 4
casting time units = initiative
duration = 3*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Resist Cold
casting sound = sound_Cast.wav
cast msg = /t feels warmer.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,2,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_Linger_ImmunityCold.png,200,2,48,48,0,1,4,1,0,0
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_ColdResistant,cleric
targeting type = touch
target quantity = 1
level = 1
casting time = 5
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// cleric level 2

\(BEGIN)
name = Find Traps
casting sound = sound_Cast.wav
cast msg = /t is more aware of the surrounding area.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
targeting type = self
level = 2
casting time = 5
casting time units = initiative
duration = 30
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTTRAPS,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Person
casting sound = sound_Cast.wav
cast msg = /c casts hold person
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldPerson.png,210,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldPerson.png,150,26,48,48,0,1,4,1,0,0
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_HoldPersonCleric,cleric
targeting type = selectByCount
target quantity = 3
target range = 6
level = 2
casting time = 5
casting time units = initiative
duration = 4+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Resist Fire
casting sound = sound_Cast.wav
cast msg = /t is resistant to fire.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_ImmunityFire.png,200,2,48,48,0,1,4,1,0,0
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FireResistant,cleric
targeting type = touch
target quantity = 1
level = 2
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Silence 15' Radius
casting sound = sound_Cast.wav
cast msg = /t is silenced
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Silence15.png,210,4,48,48,0,1,4,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Silence,cleric
targeting type = areacircle
target quantity = 9
target range = 12
target radius = 1
level = 2
casting time = 5
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slow Poison
casting sound = sound_Cast.wav
cast msg = /t feels the poison slow.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_SlowPoison.png,150,7,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixPoison,cleric
Special Ability = spell_SlowPoison,cleric
targeting type = touch
target quantity = 1
level = 2
casting time = 1
casting time units = initiative
duration = level
duration units = hours
target duration = 0
price = 200
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Snake Charm
casting sound = sound_Cast.wav
cast msg = /t is charmed
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_HoldAnimal.png,100,13,48,48,0,1,0,1,0,0
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_SnakeCharm,cleric
targeting type = selectByCount
target quantity = .5*level
target range = 3
level = 2
casting time = 5
casting time units = initiative
duration = 1d4+4
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Spiritual Hammer
casting sound = sound_Cast.wav
cast msg = /c summons a spiritual hammer.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,blunt
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = self
level = 2
casting time = 5
casting time units = initiative
duration = 3
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = $VAR atk;$VAR cls;$VAR num;atk \= $IndexOf($AttackerContext());cls \= $GetBaseclassLevel(atk, "cleric");num \= (cls +# 2) /# 3;$GIVE_CHAR_ITEM($Myself(), "Spiritual Hammer|" + num);$SET_COMBATANT_SA("$AttackerContext(),"spellSpiritHammer",num);
end script = $VAR num;num \= $GET_COMBATANT_SA($AttackerContext(),"spellSpiritHammer");$TAKE_CHAR_ITEM($Myself(), "Spiritual Hammer|" + num);$DELETE_COMBATANT_SA($AttackerContext(),"spellSpiritHammer");
\(END)

// cleric level 3

\(BEGIN)
name = Bestow Curse
casting sound = sound_Cast.wav
cast msg = /c curses /t.
missile sound = none
coverage sound = none
hit sound = sound_hit_Curse.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Curse.png,166,2,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,curse
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Curse,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 6
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Blindness
casting sound = sound_Cast.wav
cast msg = /c casts blindness on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,blind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Blind,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Disease
casting sound = sound_Cast.wav
cast msg = /c casts cause disease
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Curse.png,111,2,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,disease
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_CauseDisease,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 10
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Blindness
casting sound = sound_Cast.wav
cast msg = /t can see again
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixBlind,cleric
Special Ability = spell_RemoveBlindness,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Disease
casting sound = sound_Cast.wav
cast msg = /t is cured
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,cureDis
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixDisease,cleric
Special Ability = spell_RemoveDisease,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dispel Magic|Cleric
casting sound = sound_Cast.wav
cast msg = /c dispels magical effects.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Dispel,cleric
targeting type = areasquare
target width = 3
target height = 3
target range = 6
level = 3
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Prayer
casting sound = sound_Cast.wav
cast msg = /c is praying.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Prayer.png,150,2,48,48,0,1,2,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Prayer,cleric
targeting type = party
level = 3
casting time = 6
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Remove Curse
casting sound = sound_Cast.wav
cast msg = /c casts removes curse on /t.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixCurse,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
activate script 1 = $CHAR_REMOVEALLITEMCURSE($TargetContext());$DELETE_CHARACTER_SA($TargetContext(),"IsBestowedCurse");$DELETE_CHARACTER_SA($TargetContext(),"IsCursed");$RETURN 1;
begin script = 
end script = 
\(END)

// cleric level 4

\(BEGIN)
name = Cause Serious Wounds
casting sound = sound_Cast.wav
cast msg = /c casts Cause Serious Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 4
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(2d8+1),delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Serious Wounds
casting sound = sound_Cast.wav
cast msg = /c casts Cure Serious Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixCure,cleric
targeting type = touch
target quantity = 1
level = 4
casting time = 7
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,2d8+1,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Neutralize Poison
casting sound = sound_Cast.wav
cast msg = /t is no longer poisoned.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_NeutralizePoison.png,200,14,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixPoison,cleric
Special Ability = spell_NeutralizePoison,cleric
targeting type = touch
target quantity = 1
level = 4
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,0,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Poison
casting sound = sound_Cast.wav
cast msg = /c poisons /t.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Poison.png,200,8,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Poison,cleric
targeting type = touch
target quantity = 1
level = 4
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil 10' Radius|Cleric
casting sound = sound_Cast.wav
cast msg = /t is protected from evil.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_ProtectionFromEvil,cleric
targeting type = areacircle
target quantity = 9
target range = 1
target radius = 1
level = 4
casting time = 7
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Good 10' Radius|Cleric
casting sound = sound_Cast.wav
cast msg = /t is protected from good.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_ProtectionFromGood,cleric
targeting type = areacircle
target quantity = 9
target range = 1
target radius = 1
level = 4
casting time = 7
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sticks to Snakes
casting sound = sound_Cast.wav
cast msg = /t is surrounded by snakes.
missile sound = none
coverage sound = none
hit sound = none
linger sound = sound_Hit.wav
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = areasquare
target width = 1
target height = 1
target range = 3
level = 4
casting time = 7
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d4)+level,delta,target,yes
begin script = 
end script = 
\(END)

// cleric level 5

\(BEGIN)
name = Cause Critical Wounds
casting sound = sound_Cast.wav
cast msg = /c casts Cause Critical Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 5
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(3d8+3),delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Critical Wounds
casting sound = sound_Cast.wav
cast msg = /c casts Cure Critical Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixCure,cleric
targeting type = touch
target quantity = 1
level = 5
casting time = 8
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,3d8+3,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dispel Evil
casting sound = none
cast msg = /c banishes /t.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_DispelEvil,cleric
targeting type = touch
target quantity = 1
level = 5
casting time = 8
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dispel Good
casting sound = none
cast msg = /c casts dispel evil
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_DispelGood,cleric
targeting type = touch
target quantity = 1
level = 5
casting time = 8
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Flame Strike
casting sound = sound_CastFlameStrike.wav
cast msg = /c blasts /t for /d points of damage.
missile sound = none
coverage sound = sound_CoverFlameStrike.wav
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_FlameStrike.png,200,4,48,48,0,1,2,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = areasquare
target width = 1
target height = 1
target range = 6
level = 5
casting time = 8
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(6d8),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Raise Dead
casting sound = sound_Cast.wav
cast msg = /c casts Raise Dead on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_RaiseDead.png,67,26,48,48,0,1,2,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,raise
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixRaise,cleric
Special Ability = spell_RaiseDead,cleric
targeting type = touch
target quantity = 1
level = 5
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,0,delta,target,yes
activate script 1 = $VAR tgt;$VAR type;tgt \= $IndexOf($TargetContext());type \= $GET_CHAR_UNDEAD(tgt);$IF (type !\= "none" || type !\= "Mummy" || type !\= ""){$RETURN 0;};
modify script 1 = $VAR tgt;$VAR type;tgt \= $IndexOf($TargetContext());type \= $GET_CHAR_UNDEAD(tgt);$IF (type \=\=# "Mummy") {$SET_COMBATANT_SA($AttackerContext(),"mummy",1);};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slay Living
casting sound = sound_Cast.wav
cast msg = /c casts /s on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_SlayLiving.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageMagical,death
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 5
casting time = 10
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,0,delta,target,yes
saving throw failed script 1 = $SET_CHAR_HITPOINTS($IndexOf($TargetContext()),(-11));
saving throw succeeded script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext());$SET_CHAR_HITPOINTS(tgt,$GET_CHAR_HITPOINTS(tgt) -# ($RANDOM(8) +# $RANDOM(8) +# 3));
begin script = 
end script = 
\(END)

// cleric level 6

\(BEGIN)
name = Blade Barrier
casting sound = none
cast msg = /t is cut by blades for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,slashing
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = areasquare
target width = 1
target height = 1
target range = 3
level = 6
casting time = 9
casting time units = initiative
duration = 3*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-8d8,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Harm
casting sound = none
cast msg = /c casts Harm on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Harm,cleric
targeting type = touch
target quantity = 1
level = 6
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,1d4,absolute,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
saving throw failed script 1 = $DEBUG("failed vs harm");
saving throw succeeded script 1 = $DEBUG("saved vs harm");
begin script = 
end script = 
\(END)

\(BEGIN)
name = Heal
casting sound = none
cast msg = /c casts Heal on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Heal.png,200,2,48,48,0,1,4,1,0,0
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixBlind,cleric
Special Ability = spell_FixCure,cleric
Special Ability = spell_FixDisease,cleric
Special Ability = spell_FixFeeblemind,cleric
Special Ability = spell_Heal,cleric
Special Ability = spell_RemoveFeeblemind,cleric
targeting type = touch
target quantity = 1
level = 6
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

// cleric level 7

\(BEGIN)
name = Destruction
casting sound = none
cast msg = /t is destroyed.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = none
Special Ability = DamageMagical,death
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 7
casting time = 1
casting time units = turns
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-15,absolute,target,yes
spell effect 2 = $CHAR_STATUS,5,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Energy Drain
casting sound = none
cast msg = /t feels drained.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Drain,cleric
targeting type = touch
target quantity = 1
level = 7
casting time = 3
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Restoration
casting sound = none
cast msg = /t feels restored.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixDrain,cleric
Special Ability = spell_RemoveFeeblemind,cleric
Special Ability = spell_Restoration,cleric
targeting type = touch
target quantity = 1
level = 7
casting time = 3
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Resurrection
casting sound = none
cast msg = /t is alive.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,raise
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixRaise,cleric
Special Ability = spell_Resurrection,cleric
targeting type = touch
target quantity = 1
level = 7
casting time = 1
casting time units = turns
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// druid spells
// druid level 1

\(BEGIN)
name = Detect Magic|Druid
casting sound = sound_Cast.wav
cast msg = /t is detecting magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_DetectMagic,druid
Special Ability = time,12
targeting type = self
level = 1
casting time = 3
casting time units = initiative
duration = 12
duration units = rounds
target duration = 0
price = 100
priority = 500
spell effect 1 = $CHAR_DETECTMAGIC,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Entangle
casting sound = sound_Cast.wav
cast msg = Vines entangle /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = spell_coverage_Entangle.png,200,8,48,48,0,1,0,1,0,0
target hit art = none
target linger art = spell_linger_Entangle.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,bind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Entangle,druid
targeting type = areacircle
target quantity = 25
target range = 8
target radius = 2
level = 1
casting time = 3
casting time units = initiative
duration = 10
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Faerie Fire
casting sound = none
cast msg = /t is outlined in light.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_FaerieFire.png,210,2,48,48,0,1,4,1,0,0
target linger art = spell_linger_FaerieFire.png,200,4,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 3
casting time units = initiative
duration = 4*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_AC,2,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Invisibility to Animals
casting sound = none
cast msg = /t is invisible to animals.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_InvisibilityAnimals.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
targeting type = touch
target quantity = 1
level = 1
casting time = 4
casting time units = initiative
duration = 10+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Shillelagh
casting sound = sound_Cast.wav
cast msg = /c summons a shillelagh.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,blunt
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
targeting type = self
level = 1
casting time = 1
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = $GIVE_CHAR_ITEM($Myself(), "Shillelagh");
end script = $TAKE_CHAR_ITEM($Myself(), "Shillelagh");
\(END)

\(BEGIN)
name = Speak with Animals
casting sound = sound_Cast.wav
cast msg = /t can speak with animals.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
targeting type = self
level = 1
casting time = 1
casting time units = rounds
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// druid level 2

\(BEGIN)
name = Barkskin
casting sound = none
cast msg = /c casts barkskin
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Barkskin,druid
targeting type = touch
target quantity = 1
level = 2
casting time = 3
casting time units = initiative
duration = 4+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Light Wounds|Druid
casting sound = sound_Cast.wav
cast msg = /c casts Cause Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 2
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Charm Person or Mammal
casting sound = sound_Cast.wav
cast msg = /c casts a charm
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldAnimal.png,111,2,48,48,0,1,0,1,0,0
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_CharmPersonOrMammal,druid
targeting type = selectByCount
target quantity = 1
target range = 8
level = 2
casting time = 4
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Light Wounds|Druid
casting sound = sound_Cast.wav
cast msg = /c casts Cure Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_CureLightWounds.png,200,11,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$druid$0
Special Ability = spell_FixCure,druid
targeting type = touch
target quantity = 1
level = 2
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slow Poison|Druid
casting sound = sound_Cast.wav
cast msg = /t feels the poison slow.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_SlowPoison.png,150,7,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_FixPoison,druid
Special Ability = spell_SlowPoison,druid
targeting type = touch
target quantity = 1
level = 2
casting time = 1
casting time units = initiative
duration = level
duration units = hours
target duration = 0
price = 200
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// druid level 3

\(BEGIN)
name = Cause Disease|Druid
casting sound = sound_Cast.wav
cast msg = /c casts cause disease
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Curse.png,111,2,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,disease
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_Disease,druid
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Disease|Druid
casting sound = sound_Cast.wav
cast msg = /t is cured
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,cureDis
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_RemoveDisease,druid
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Animal
casting sound = sound_Cast.wav
cast msg = /c casts hold animal
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldAnimal.png,210,2,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldAnimal.png,150,26,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_HoldAnimal,druid
targeting type = selectByCount
target quantity = 4
target range = 8
level = 3
casting time = 5
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Neutralize Poison|Druid
casting sound = sound_Cast.wav
cast msg = /t is no longer poisoned.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_NeutralizePoison.png,150,14,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_NeutralizePoison,druid
targeting type = touch
target quantity = 1
level = 3
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,0,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Poison|Druid
casting sound = sound_Cast.wav
cast msg = /t feels ill.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Poison.png,150,8,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_Poison,druid
targeting type = touch
target quantity = 1
level = 3
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection from Fire
casting sound = sound_Cast.wav
cast msg = /t is protected from fire
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_cast_Druid.png,111,2,48,48,0,1,0,1,0,0
target linger art = spell_linger_ImmunityFire.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_ProtectionFromFire,druid
targeting type = touch
target quantity = 1
level = 3
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// druid level 4

\(BEGIN)
name = Animal Summoning I
casting sound = sound_Cast.wav
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_SummonAnimal1,druid
targeting type = self
level = 4
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Serious Wounds|Druid
casting sound = sound_Cast.wav
cast msg = /c casts Cause Serious Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 4
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(2d8+1),delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Serious Wounds|Druid
casting sound = sound_Cast.wav
cast msg = /c casts Cure Serious Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$druid$0
Special Ability = spell_FixCure,druid
targeting type = touch
target quantity = 1
level = 4
casting time = 7
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,2d8+1,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dispel Magic|Druid
casting sound = sound_Cast.wav
cast msg = /c dispels magical effects.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Dispel,druid
targeting type = self
level = 4
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection from Lightning
casting sound = sound_Cast.wav
cast msg = /t is protected from lightning
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_cast_Druid.png,111,2,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_ProtectionFromLightning,druid
targeting type = touch
target quantity = 1
level = 4
casting time = 6
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// druid level 5

\(BEGIN)
name = Animal Summoning II
casting sound = sound_Cast.wav
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_SummonAnimal2,druid
targeting type = self
level = 5
casting time = 7
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Insect Plague|Druid
casting sound = sound_Cast.wav
cast msg = /c summons a plague of insects.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_InsectPlague.png,210,2,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
targeting type = areacircle
target quantity = 999
target range = 32
target radius = 16
level = 5
casting time = 1
casting time units = rounds
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-1,delta,target,yes
saving throw script 1 = $VAR tgt;$VAR atk;$VAR bCls;$VAR type;$VAR lvl;tgt \= $IndexOf($TargetContext());atk \= $IndexOf($AttackerContext());bCls \= $GetHighestLevelBaseclass(tgt);type \= $GET_CHAR_TYPE(tgt);$IF (type \=\= ("@PC@" || "@NPC@")) {lvl \= $GetBaseclassLevel(tgt,bCls);}$ELSE {lvl \= $GET_COMBATANT_SA($TargetContext(),"monsterLevel");};$IF (lvl <# 3) {$SET_COMBATANT_SA($TargetContext(),"IsInsectFlee",atk);};
saving throw failed script 1 = $VAR tgt;$VAR atk;$VAR bCls;$VAR type;$VAR lvl;tgt \= $IndexOf($TargetContext());atk \= $IndexOf($AttackerContext());bCls \= $GetHighestLevelBaseclass(tgt);type \= $GET_CHAR_TYPE(tgt);$IF (type \=\= ("@PC@" || "@NPC@")) {lvl \= $GetBaseclassLevel(tgt,bCls);}$ELSE {lvl \= $GET_COMBATANT_SA($TargetContext(),"monsterLevel");};$IF (lvl <# 6) {$SET_COMBATANT_SA($TargetContext(),"IsInsectFlee",atk);};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sticks to Snakes|Druid
casting sound = sound_Cast.wav
cast msg = /t is surrounded by snakes.
missile sound = none
coverage sound = none
hit sound = none
linger sound = sound_Hit.wav
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
targeting type = areasquare
target width = 1
target height = 1
target range = 4
level = 5
casting time = 7
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d4)+level,delta,target,yes
begin script = 
end script = 
\(END)

// druid level 6

\(BEGIN)
name = Animal Summoning III
casting sound = sound_Cast.wav
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_SummonAnimal3,druid
targeting type = self
level = 6
casting time = 8
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Critical Wounds|Druid
casting sound = sound_Cast.wav
cast msg = /c casts Cause Critical Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 6
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(3d8+3),delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Conjure Fire Elemental|Druid
casting sound = sound_Cast.wav
cast msg = /c summons a fire elemental.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_SummonElementalFire,druid
targeting type = self
level = 6
casting time = 6
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Critical Wounds|Druid
casting sound = sound_Cast.wav
cast msg = /c casts Cure Critical Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$druid$0
Special Ability = spell_FixCure,druid
targeting type = touch
target quantity = 1
level = 6
casting time = 8
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,3d8+3,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Feeblemind|Druid
casting sound = none
cast msg = /c casts Feeblemind on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
targeting type = selectByCount
target quantity = 1
target range = 16
level = 6
casting time = 8
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw script 1 = $VAR tgt;$VAR cleric;$VAR druid;$VAR mage;$VAR paladin;$VAR ranger;tgt \= $IndexOf($TargetContext());cleric \= $GET_CHAR_Lvl(tgt,"cleric");druid \= $GET_CHAR_Lvl(tgt,"druid");mage \= $GET_CHAR_Lvl(tgt,"magicUser");paladin \= $GET_CHAR_Lvl(tgt,"paladin");ranger \= $GET_CHAR_Lvl(tgt,"ranger");$IF ($GET_CHAR_RACE(tgt) !\= "Human"){$IF (mage ># 0 || druid ># 0 || ranger ># 7 || cleric ># 0){$RETURN "-2";};}$ELSE{$IF (mage ># 0) {$RETURN "-4";};$IF (ranger ># 8) {$RETURN "-2";};$IF (druid ># 0 || ranger \=\=# 8) {$RETURN "-1";};$IF (cleric ># 0 || paladin ># 8) {$RETURN 1;};};$RETURN 40;
saving throw failed script 1 = $VAR tgt;$VAR int;$VAR wis;tgt \= $IndexOf($TargetContext());int \= $GET_CHAR_LIMITED_INT(tgt);wis \= $GET_CHAR_LIMITED_WIS(tgt);$IF ($GET_CHARACTER_SA($TargetContext(),"pcINT") \=\= "-?-?-"){$SET_CHARACTER_SA($TargetContext(),"pcINT", int);$SET_CHARACTER_SA($TargetContext(),"pcWIS", wis);};$SET_CHARACTER_SA($TargetContext(),"IsFeebleminded",1);$MODIFY_CHAR_ATTRIBUTE(tgt,"INT",2 -# int,"MINUTES",999999999, "Feebleminded","SPELL Feeblemind");$MODIFY_CHAR_ATTRIBUTE(tgt,"WIS",2 -# wis, "MINUTES",999999999,"","SPELL Feeblemind");
begin script = 
end script = 
\(END)

// druid level 7

\(BEGIN)
name = Confusion|Druid
casting sound = none
cast msg = /t feels disoriented
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_Confusion,druid
targeting type = areasquare
target width = 4
target height = 4
target range = 8
level = 7
casting time = 4
casting time units = initiative
duration = 2+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Conjure Earth Elemental|Druid
casting sound = sound_Cast.wav
cast msg = /c summons an earth elementa.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$druid$0
Special Ability = spell_Attack,1
Special Ability = spell_SummonElementalEarth,druid
targeting type = self
level = 7
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// magic-user spells:
// magic-user level 1

\(BEGIN)
name = Burning Hands
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage.
missile sound = sound_Cast.wav
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_BurningHands.png,150,4,48,48,0,1,2,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 5
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Charm Person
casting sound = sound_Cast.wav
cast msg = /c casts charm person
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_CharmPerson,magicUser
targeting type = selectByCount
target quantity = 1
target range = 12
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Detect Magic|MagicUser
casting sound = sound_Cast.wav
cast msg = /t is detecting magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spell_DetectMagicMage,magicUser
targeting type = self
level = 1
casting time = 1
casting time units = immediate
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTMAGIC,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Enlarge
casting sound = sound_Cast.wav
cast msg = /t is enlarged
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Enlarge,magicUser
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 1
casting time = 1
casting time units = immediate
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Friends
casting sound = sound_Cast.wav
cast msg = /t is more charismatic
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect,Friendly
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
targeting type = self
level = 1
casting time = 1
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,2d4,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Magic Missile
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MagicMissile.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_MagicMissile.png,150,6,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = selectByCount
target quantity = 1
target range = 6+level
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d4+1)*((level+1)/2),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil|MagicUser
casting sound = sound_Cast.wav
cast msg = /t is protected from evil
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ProtectionFromEvil,magicUser
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Good|MagicUser
casting sound = sound_Cast.wav
cast msg = /t is protected from good.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ProtectionFromGood,magicUser
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Read Magic
casting sound = sound_Cast.wav
cast msg = t is able to read magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spell_ReadMagic, magicUser
targeting type = self
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Reduce
casting sound = sound_Cast.wav
cast msg = /t is reduced
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Reduce.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Reduce,magicUser
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 1
casting time = 1
casting time units = immediate
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Shield
casting sound = sound_Cast.wav
cast msg = /t is shielded.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spell_Shield,magicUser
targeting type = self
level = 1
casting time = 1
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Shocking Grasp
casting sound = sound_Cast.wav
cast msg = /t is shocked for /d points of damage.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_ShockingGrasp.png,150,4,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,electricity
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d8+level),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sleep
casting sound = sound_Cast.wav
cast msg = /t is put to sleep
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Sleep.png,300,3,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Sleep,magicUser
targeting type = areacircle
target quantity = 22
target range = 3+level
target radius = 1
level = 1
casting time = 1
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// magic-user level 2

\(BEGIN)
name = Detect Evil
casting sound = sound_Cast.wav
cast msg = /t can sense evil.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_DetectEvil.png,210,2,48,48,0,1,4,1,0,0
target linger art = spell_linger_DetectEvil.png,200,4,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_DetectEvil,magicUser
targeting type = arealinepickstart
target width = 0
target length = 0
target range = 12
level = 2
casting time = 2
casting time units = initiative
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Detect Invisibility
casting sound = sound_Cast.wav
cast msg = /t can see more clearly
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_SeeInvisible,magicUser
targeting type = self
level = 2
casting time = 1
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTINVISIBLE,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Invisibility
casting sound = sound_Cast.wav
cast msg = /t is invisible
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_Invisibility.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Invisible,magicUser
targeting type = touch
target quantity = 1
level = 2
casting time = 2
casting time units = initiative
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Knock
casting sound = sound_Cast.wav
cast msg = /c opens a lock.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = no
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Unlock,magicUser
targeting type = self
level = 2
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Know Alignment
casting sound = sound_Cast.wav
cast msg = /c knows /t alignment
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
targeting type = selectByCount
target quantity = level/2
target range = 1
level = 2
casting time = 1
casting time units = rounds
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Mirror Image
casting sound = sound_Cast.wav
cast msg = /t now has mirror images.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_MirrorImage.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_MirrorImage,magicUser
targeting type = self
level = 2
casting time = 2
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Ray of Enfeeblement
casting sound = sound_Cast.wav
cast msg = /c casts Ray of Enfeeblement on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_RayOfEnfeeblement.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Enfeebled.png,0,1,48,48,0,0,0,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Enfeeble,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 2
casting time = 2
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Stinking Cloud
casting sound = sound_Cast.wav
cast msg = /t is paralyzed by a wretched stink.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = spell_linger_StinkingCloud.png,200,4,48,48,0,1,0,1,0,0
target hit art = none
target linger art = spell_linger_StinkingCloud.png,200,4,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = Par/Pois/DM
save result = none
Special Ability = DamageMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_StinkingCloud,magicUser
targeting type = areasquare
target width = 2
target height = 2
target range = 3
level = 2
casting time = 2
casting time units = initiative
duration = level
duration units = rounds
target duration = 1d4+1
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Strength
casting sound = sound_Cast.wav
cast msg = /t feels stronger
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Strength.png,300,2,48,48,0,1,0,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 2
casting time = 1
casting time units = turns
duration = level
duration units = hours
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STR,1,delta,target,yes
spell effect 2 = $CHAR_STRMOD,1d0,absolute,target,yes
spell effect 3 = $CHAR_DAMAGEBONUS,1,delta,target,yes
spell effect 4 = $CHAR_HITBONUS,1,delta,target,yes
activate script 1 = $IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"fighter") ># 0){$RETURN 1;};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"paladin") ># 0){$RETURN 1;};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"ranger") ># 0) {$RETURN 1;}$ELSE{$RETURN 0;};
modify script 1 = $IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"fighter") ># 0) {$RANDOM(8);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"paladin") ># 0) {$RANDOM(8);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"ranger") ># 0) {$RANDOM(8);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"cleric") ># 0) {$RANDOM(6);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"druid") ># 0) {$RANDOM(6);}$ELSE{$RANDOM(4);};
modify script 2 = $IF($GET_CHAR_LIMITED_STR($IndexOf($CharacterContext())) \=\=# 18){$RETURN ($RANDOM(100) +# 1);};
begin script = 
end script = 
\(END)

// magic-user level 3

\(BEGIN)
name = Blink
casting sound = sound_Cast.wav
cast msg = /c casts blink
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Blink,magicUser
targeting type = self
level = 3
casting time = 0
casting time units = immediate
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dispel Magic|Magic User
casting sound = sound_Cast.wav
cast msg = /c dispels magical effects.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Dispel,magicUser
targeting type = areasquare
target width = 0
target height = 0
target range = 3
level = 3
casting time = 3
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fireball
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_hit_Fireball.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_Fireball.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_Fireball.png,150,4,240,240,0,1,4,1,0,0
target hit art = spell_hit_Fireball.png,150,2,48,48,0,1,4,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacircle
target quantity = 25
target range = 10+level
target radius = 2
level = 3
casting time = 3
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d6)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Haste
casting sound = none
cast msg = /t feels faster.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Haste,magicUser
targeting type = areasquare
target width = 4
target height = 4
target range = 6
level = 3
casting time = 3
casting time units = initiative
duration = 3+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_AGE,1,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Person|Magic User
casting sound = sound_Cast.wav
cast msg = /c casts hold person
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldPerson.png,210,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldPerson.png,150,26,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_HoldPersonMU,magicUser
targeting type = selectByCount
target quantity = 4
target range = 12
level = 3
casting time = 3
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Invisibility 10' Radius
casting sound = sound_Cast.wav
cast msg = /t is invisible.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Invisible,magicUser
targeting type = areacircle
target quantity = 9
target range = 1
target radius = 1
level = 3
casting time = 3
casting time units = initiative
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_INVISIBLE,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Lightning Bolt
casting sound = none
cast msg = /c zaps /t for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_LightningBolt.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_LightningBolt.png,150,4,48,48,0,1,2,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,electricity
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = arealinepickstart
target width = 1
target length = 8
target range = 4+level
level = 3
casting time = 3
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d6)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning I
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon1,magicUser
targeting type = self
level = 3
casting time = 3
casting time units = initiative
duration = 2+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil 10' Radius| Magic User
casting sound = sound_Cast.wav
cast msg = /t is protected from evil.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ProtectionFromEvil,magicUser
targeting type = areacircle
target quantity = 9
target range = 1
target radius = 1
level = 3
casting time = 3
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Good 10' Radius| Magic User
casting sound = sound_Cast.wav
cast msg = /t is protected from good.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ProtectionFromGood,mage
targeting type = areacircle
target quantity = 9
target range = 1
target radius = 1
level = 3
casting time = 3
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection from Normal Missiles
casting sound = sound_Cast.wav
cast msg = /t is protected from missiles.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ImmuneNormalMissiles,magicUser
targeting type = touch
target quantity = 1
level = 3
casting time = 0
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slow
casting sound = none
cast msg = /t feels slower
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Slow,magicUser
targeting type = areasquare
target width = 4
target height = 4
target range = 6
level = 3
casting time = 3
casting time units = initiative
duration = 3+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// magic-user level 4

\(BEGIN)
name = Bestow Curse|Magic User
casting sound = sound_Cast.wav
cast msg = /c curses /t.
missile sound = none
coverage sound = none
hit sound = sound_hit_Curse.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Curse.png,60,2,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,curse
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Curse,magicUser
targeting type = touch
target quantity = 1
level = 4
casting time = 4
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Charm Monster
casting sound = sound_Cast.wav
cast msg = /c casts charm monster
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_CharmMonster,magicUser
targeting type = SelectByHitDice
target range = 6
target number = 0
level = 4
casting time = 4
casting time units = initiative
duration = 14
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Confusion
casting sound = none
cast msg = /t feels disoriented.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Confusion,magicUser
targeting type = SelectByHitDice
target range = 12
target number = 0
level = 4
casting time = 4
casting time units = initiative
duration = 2+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dimension Door
casting sound = sound_Cast.wav
cast msg = /t steps out of view.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_DimensionDoor,magicUser
targeting type = arealinepickstart
target width = 1
target length = 1
target range = 3*level
level = 4
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fear
casting sound = sound_Cast.wav
cast msg = /t is afraid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Fear,magicUser
targeting type = areacone
target width = 3
target length = 6
target range = 1
level = 4
casting time = 4
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fire Shield
casting sound = sound_Cast.wav
cast msg = /t is shielded.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_ImmunityFire.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_FireShield,magicUser
targeting type = self
level = 4
casting time = 0
casting time units = initiative
duration = 2+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fumble
casting sound = none
cast msg = /t feels awkward.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Fumble,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 4
casting time = 4
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Ice Storm
casting sound = none
cast msg = /c pelts /t with ice for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_IceStorm.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_IceStorm.png,100,9,240,240,0,1,0,1,0,0
target hit art = spell_hit_IceStorm.png,150,3,48,48,0,1,2,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacircle
target quantity = 25
target range = level
target radius = 2
level = 4
casting time = 4
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(3d10),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Minor Globe of Invulnerability
casting sound = sound_Cast.wav
cast msg = /c is protected from minor spells.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ImmuneSpellsMinor,magicUser
targeting type = self
level = 4
casting time = 4
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning II
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon2,magicUser
targeting type = self
level = 4
casting time = 4
casting time units = initiative
duration = 3+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Remove Curse|Magic User
casting sound = sound_Cast.wav
cast msg = /c lifts the curse from /t.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
targeting type = touch
target quantity = 1
level = 4
casting time = 4
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
activate script 1 = $CHAR_REMOVEALLITEMCURSE($TargetContext());$DELETE_CHARACTER_SA($TargetContext(),"IsBestowedCurse");$DELETE_CHARACTER_SA($TargetContext(),"IsCursed");$RETURN 1;
begin script = 
end script = 
\(END)

// magic-user level 5

\(BEGIN)
name = Cloudkill
casting sound = sound_Cast.wav
cast msg = /c casts cloudkill
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = spell_linger_Cloudkill.png,250,4,48,48,0,1,0,1,0,0
target hit art = spell_linger_Cloudkill.png,250,4,48,48,0,1,0,1,0,0
target linger art = spell_linger_Cloudkill.png,250,4,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Cloudkill,magicUser
targeting type = areasquare
target width = 4
target height = 2
target range = 1
level = 5
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,0,delta,target,yes
activate script 1 = $VAR tgt;$VAR name;$VAR monLvl;$VAR lvl;$VAR tlvl;$VAR list;$VAR i;$IF ($GET_HASPOISONIMMUNITY($TargetContext())){$RETURN;};tgt \= $IndexOf($TargetContext());name \= $GET_CHAR_NAME(tgt);lvl \= 0;monLvl \= $GET_MONSTERTYPE_SA(name,"monsterlevel");$IF (monLvl !\= "-?-?-")   {lvl \= monLvl;}$ELSE  {   list \= "$fighter$cleric$ranger$paladin$magicUser$thief$druid";   i \= 0;   $WHILE (i <# 7)     {      tlvl \= $GET_CHAR_Lvl(tgt,$DelimitedStringSubstring(list,i));      $IF (tlvl ># lvl){lvl \= tlvl;};      i \= i +# 1;     };  };$SET_COMBATANT_SA($TargetContext(),"cloudkill",$GET_PARTY_TIME());$IF (lvl <\=# 4)  {   $SET_CHARACTER_SA($TargetContext(),"SaveAdjPPDM",50);   $RETURN 1;  };$IF (lvl \=\=# 5)  {   $SET_CHARACTER_SA($TargetContext(),"SaveAdjPPDM",4);   $RETURN 1;  };$IF (lvl \=\=# 6)  {$RETURN 1;}$ELSE {$RETURN;};
modify script 1 = $RETURN -# $GET_CHAR_HITPOINTS($IndexOf($TargetContext()));
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cone of Cold
casting sound = none
cast msg = /t is frozen for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_ConeOfCold.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_ConeOfCold.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,cold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacone
target width = level/4
target length = level/2
target range = 1
level = 5
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d4+1)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Conjure Air Elemental
casting sound = sound_Cast.wav
cast msg = /c summons an air elemental.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_SummonElementalAir,magicUser
targeting type = areasquare
target width = 1
target height = 1
target range = 1
level = 5
casting time = 0
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Conjure Earth Elemental
casting sound = sound_Cast.wav
cast msg = /c summons an earth elemental.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_SummonElementalEarth,magicUser
targeting type = areasquare
target width = 1
target height = 1
target range = 1
level = 5
casting time = 0
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Conjure Fire Elemental
casting sound = sound_Cast.wav
cast msg = /c summons a fire elemental.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_SummonElementalFire,magicUser
targeting type = areasquare
target width = 1
target height = 1
target range = 1
level = 5
casting time = 0
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Conjure Water Elemental
casting sound = sound_Cast.wav
cast msg = /c summons a water elemental.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_SummonElementalWater,magicUser
targeting type = areasquare
target width = 1
target height = 1
target range = 1
level = 5
casting time = 0
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Feeblemind
casting sound = none
cast msg = /c casts Feeblemind on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = selectByCount
target quantity = 1
target range = level
level = 5
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw script 1 = $VAR tgt;$VAR cleric;$VAR druid;$VAR mage;$VAR paladin;$VAR ranger;tgt \= $IndexOf($TargetContext());cleric \= $GET_CHAR_Lvl(tgt,"cleric");druid \= $GET_CHAR_Lvl(tgt,"druid");mage \= $GET_CHAR_Lvl(tgt,"magicUser");paladin \= $GET_CHAR_Lvl(tgt,"paladin");ranger \= $GET_CHAR_Lvl(tgt,"ranger");$IF ($GET_CHAR_RACE(tgt) !\= "Human"){$IF (mage ># 0 || druid ># 0 || ranger ># 7 || cleric ># 0){$RETURN "-2";};}$ELSE{$IF (mage ># 0) {$RETURN "-4";};$IF (ranger ># 8) {$RETURN "-2";};$IF (druid ># 0 || ranger \=\=# 8) {$RETURN "-1";};$IF (cleric ># 0 || paladin ># 8) {$RETURN 1;};};$RETURN 40;
saving throw failed script 1 = $VAR tgt;$VAR int;$VAR wis;tgt \= $IndexOf($TargetContext());int \= $GET_CHAR_LIMITED_INT(tgt);wis \= $GET_CHAR_LIMITED_WIS(tgt);$IF ($GET_CHARACTER_SA($TargetContext(),"pcINT") \=\= "-?-?-"){$SET_CHARACTER_SA($TargetContext(),"pcINT", int);$SET_CHARACTER_SA($TargetContext(),"pcWIS", wis);};$SET_CHARACTER_SA($TargetContext(),"IsFeebleminded",1);$MODIFY_CHAR_ATTRIBUTE(tgt,"INT",2 -# int,"MINUTES",999999999, "Feebleminded","SPELL Feeblemind");$MODIFY_CHAR_ATTRIBUTE(tgt,"WIS",2 -# wis, "MINUTES",999999999,"","SPELL Feeblemind");
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fire Touch
casting sound = none
cast msg = /t is burned for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 5
casting time = 5
casting time units = initiative
duration = level
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(2d6),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Monster
casting sound = none
cast msg = /c casts hold monster
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldMonster.png,200,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldMonster.png,200,26,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_HoldMonster,magicUser
targeting type = selectByCount
target quantity = 4
target range = level/2
level = 5
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning III
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon3,magicUser
targeting type = self
level = 5
casting time = 5
casting time units = initiative
duration = 4+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection from Acid
casting sound = sound_Cast.wav
cast msg = /t is protected from acid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_cast_MU.png,111,2,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ProtectionFromAcid,magicUser
targeting type = touch
target quantity = 1
level = 5
casting time = 1
casting time units = rounds
duration = 1d4+8
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// magic-user level 6

\(BEGIN)
name = Death Spell
casting sound = sound_Cast.wav
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,death
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_DeathSpellQ,magicUser
targeting type = areasquare
target width = level/2
target height = level/2
target range = level
level = 6
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-10,absolute,target,yes
activate script 1 = $VAR tgt;$VAR status;$VAR opr;$VAR rnd;$VAR name;$VAR tlvl;$VAR lvl;$VAR i;$VAR bclass;$VAR cls;$VAR pv;$VAR pvList;tgt \= $IndexOf($TargetContext());status \= $GET_CHAR_STATUS(tgt);$IF (status ># 1) {$RETURN;};$IF ($GET_HASDEATHIMMUNITY($TargetContext())) {$RETURN;};opr \= $GET_COMBATANT_SA($AttackerContext(),"CombatRoundStart1");$IF (opr  \=\= "-?-?-")  {   $SET_COMBATANT_SA($AttackerContext(),"CombatRoundStart1", 5);   rnd \= $RANDOM(20) +# $RANDOM(20) +# $RANDOM(20) +# $RANDOM(20) +# 4;   $SET_COMBATANT_SA($AttackerContext(),"PointPool", rnd);  };rnd \= $GET_COMBATANT_SA($AttackerContext(),"PointPool");$IF (rnd <# 1) {$RETURN;};name \= $GET_CHAR_NAME(tgt);tlvl \= $GET_MONSTERTYPE_SA(name,"monsterlevel");$IF (tlvl !\= "-?-?-") {lvl \= tlvl;}$ELSE  {   lvl \= 0;   i \= 0;   bclass \= "$fighter$cleric$ranger$paladin$magicUser$thief$druid";   cls \= 0;   $WHILE (cls !\= "")     {      cls \= $DelimitedStringSubstring(bclass,i);      tlvl \= $GET_CHAR_Lvl(tgt,cls);      $IF (tlvl ># lvl) {lvl \= tlvl;};      i \= i +# 1;     };  };$IF (lvl ># 9 ){$RETURN;};pvList \= "$1$1$3$3$3$10$10$10$20$20";pv \= $DelimitedStringSubstring(pvList,lvl);$IF (rnd >\=# pv)  {   rnd \= rnd -# pv;   $SET_COMBATANT_SA($AttackerContext(),"PointPool",rnd);   $RETURN 1;  };
begin script = 
end script = 
\(END)

\(BEGIN)
name = Disintegrate
casting sound = none
cast msg = /t is disintegrated
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,death
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 6
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-11,absolute,target,yes
spell effect 2 = $CHAR_STATUS,5,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Flesh to Stone
casting sound = none
cast msg = /t is petrified
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,petrify
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Petrify,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 6
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Globe of Invulnerability
casting sound = sound_Cast.wav
cast msg = /t is protected from spells.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_ImmuneSpells,magicUser
targeting type = self
level = 6
casting time = 1
casting time units = rounds
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Invisible Stalker
casting sound = sound_Cast.wav
cast msg = /c summons an invisible stalker.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_SummonInvisibleStalker,magicUser
targeting type = areacircle
target quantity = 1
target range = 1
target radius = 2
level = 6
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning IV
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon4,magicUser
targeting type = self
level = 6
casting time = 6
casting time units = initiative
duration = 5+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Power Word, Silence
casting sound = sound_Cast.wav
cast msg = /t is silenced.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Silence15.png,200,4,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Silence,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 6
casting time = 1
casting time units = initiative
duration = 2
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Stone to Flesh
casting sound = none
cast msg = /t can move again
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_RemovePetrified,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 6
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,0,absolute,target,yes
begin script = 
end script = 
\(END)

// magic-user level 7

\(BEGIN)
name = Charm Plants
casting sound = sound_Cast.wav
cast msg = /t is charmed.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,200,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_CharmPlants,magicUser
targeting type = areasquare
target width = 36
target height = 12
target range = 3
level = 7
casting time = 7
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Delayed Blast Fireball
casting sound = sound_Cast.wav
cast msg = /c blasts /t for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_hit_Fireball.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_Fireball.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_Fireball.png,200,2,48,48,0,1,4,1,0,0
target hit art = spell_hit_Fireball.png,200,2,48,48,0,1,4,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacircle
target quantity = 25
target range = 10+level
target radius = 2
level = 7
casting time = 7
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d6+1)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Mass Invisibility
casting sound = sound_Cast.wav
cast msg = /t fades from view
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Invisible,magicUser
targeting type = areasquare
target width = 36
target height = 36
target range = level
level = 7
casting time = 7
casting time units = initiative
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_INVISIBLE,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning V
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon5,magicUser
targeting type = self
level = 7
casting time = 7
casting time units = initiative
duration = 6+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Power Word, Stun
casting sound = sound_Cast.wav
cast msg = /t is stunned.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_PowerWordStun,magicUser
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 7
casting time = 1
casting time units = immediate
duration = 2d4
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// magic-user level 8

\(BEGIN)
name = Mass Charm
casting sound = sound_Cast.wav
cast msg = /c casts mass charm
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldPerson.png,111,4,48,48,0,1,0,1,0,0
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_MassCharm,magicUser
targeting type = areasquare
target width = 3
target height = 3
target range = level/2
level = 8
casting time = 8
casting time units = initiative
duration = 2
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
activate script 1 = $SET_CHARACTER_SA($TargetContext(),"SaveAdjSpell",2);$RETURN 1;
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Mind Blank
casting sound = sound_Cast.wav
cast msg = /c has a blanked mind.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_MindBlank.png,210,2,48,48,0,1,0,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_MindBlank,mage
targeting type = selectByCount
target quantity = 1
target range = 3
level = 8
casting time = 0
casting time units = initiative
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning VI
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon6,magicUser
targeting type = self
level = 8
casting time = 8
casting time units = initiative
duration = 7+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Otto's Irresistible Dance
casting sound = sound_Cast.wav
cast msg = /t is dancing maniacally.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Otto.png,250,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 8
casting time = 5
casting time units = initiative
duration = 1d4+1
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_AC,4,delta,target,yes
spell effect 2 = $CHAR_SAVEVSPPDM,20,absolute,target,yes
spell effect 3 = $CHAR_SAVEVSPP,20,absolute,target,yes
spell effect 4 = $CHAR_SAVEVSRSW,20,absolute,target,yes
spell effect 5 = $CHAR_SAVEVSBR,20,absolute,target,yes
spell effect 6 = $CHAR_SAVEVSSP,20,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Power Word, Blind
casting sound = sound_Cast.wav
cast msg = /t is blinded
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,blind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Blind,magicUser
targeting type = areacircle
target quantity = 9
target range = level/2
target radius = 1
level = 8
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// magic-user level 9

\(BEGIN)
name = Meteor Swarm
casting sound = sound_Cast.wav
cast msg = /c blasts /t for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_Fireball.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_FlameStrike.png,100,4,48,48,0,1,6,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = arealinepickend
target width = 1
target length = 4+level
target range = 4+level
level = 9
casting time = 9
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(10d4),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Monster Summoning VII
casting sound = none
cast msg = /c summons aid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Summon7,magicUser
targeting type = self
level = 9
casting time = 9
casting time units = initiative
duration = 8+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Power Word, Kill
casting sound = sound_Cast.wav
cast msg = /c slays /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,death
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_PowerWordKill,magicUser
targeting type = areacircle
target quantity = 9
target range = level/4
target radius = 1
level = 9
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// paladin spells
// paladin level 1

\(BEGIN)
name = Bless|Paladin
casting sound = sound_Cast.wav
cast msg = /c blesses /t.
missile sound = none
coverage sound = none
hit sound = sound_hit_Bless.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Bless.png,150,2,48,48,0,1,4,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_Bless,paladin
targeting type = areasquare
target width = 5
target height = 5
target range = 6
level = 1
casting time = 1
casting time units = rounds
duration = 6
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_MORALE,1,delta,target,yes
activate script 1 = $VAR mySide;mySide \= $GET_COMBATANT_SA($AttackerContext(),"side");$IF (mySide !\= "-?-?-")  {   $IF (mySide !\=# $GET_COMBATANT_SA($TargetContext(),"side"))     {$RETURN;};   $IF ($VisualDistance($IndexOf($TargetContext()),$IndexOf($NEAREST_ENEMY_TO($TargetContext()))) <# 2)     {$RETURN;};  };$RETURN 1;
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Light Wounds|Paladin
casting sound = sound_Cast.wav
cast msg = /c casts Cure Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_CureLightWounds.png,200,11,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$paladin$8
Special Ability = spell_FixCure,paladin
targeting type = touch
target quantity = 1
level = 1
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Detect Magic|Paladin
casting sound = sound_Cast.wav
cast msg = /t is detecting magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_DetectMagic,paladin
Special Ability = time,10
targeting type = self
level = 1
casting time = 1
casting time units = rounds
duration = 10
duration units = rounds
target duration = 0
price = 100
priority = 500
spell effect 1 = $CHAR_DETECTMAGIC,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil|Paladin
casting sound = sound_Cast.wav
cast msg = /t is protected from evil.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_ProtectionFromEvil,paladin
targeting type = touch
target quantity = 1
level = 1
casting time = 4
casting time units = initiative
duration = 3*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Resist Cold|Paladin
casting sound = sound_Cast.wav
cast msg = /t feels warmer.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,2,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_Linger_ImmunityCold.png,200,2,48,48,0,1,4,1,0,0
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_ColdResistant,paladin
targeting type = touch
target quantity = 1
level = 1
casting time = 5
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// paladin level 2

\(BEGIN)
name = Find Traps|Paladin
casting sound = sound_Cast.wav
cast msg = /t is more aware of the surrounding area.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
targeting type = self
level = 2
casting time = 5
casting time units = initiative
duration = 30
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTTRAPS,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Person|Paladin
casting sound = sound_Cast.wav
cast msg = /t is held.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldPerson.png,210,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldPerson.png,150,26,48,48,0,1,4,1,0,0
school = Cleric
cast by = paladin
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_Attack,1
Special Ability = spell_HoldPersonCleric,paladin
targeting type = selectByCount
target quantity = 3
target range = 6
level = 2
casting time = 5
casting time units = initiative
duration = 4+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Resist Fire|Paladin
casting sound = sound_Cast.wav
cast msg = /t is resistant to fire.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_ImmunityFire.png,200,2,48,48,0,1,4,1,0,0
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_FireResistant,paladin
targeting type = touch
target quantity = 1
level = 2
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Silence 15' Radius|Paladin
casting sound = sound_Cast.wav
cast msg = /t is silenced
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Silence15.png,210,4,48,48,0,1,4,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_Attack,1
Special Ability = spell_Silence,paladin
targeting type = areacircle
target quantity = 9
target range = 12
target radius = 1
level = 2
casting time = 5
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slow Poison|Paladin
casting sound = sound_Cast.wav
cast msg = /t feels the poison slow.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_SlowPoison.png,150,7,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_FixPoison,paladin
Special Ability = spell_SlowPoison,paladin
targeting type = touch
target quantity = 1
level = 2
casting time = 1
casting time units = initiative
duration = level
duration units = hours
target duration = 0
price = 200
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Snake Charm|Paladin
casting sound = sound_Cast.wav
cast msg = /t is charmed
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_HoldAnimal.png,100,13,48,48,0,1,0,1,0,0
school = Cleric
cast by = paladin
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_Attack,1
Special Ability = spell_SnakeCharm,paladin
targeting type = selectByCount
target quantity = level/2
target range = 3
level = 2
casting time = 5
casting time units = initiative
duration = 1d4+4
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Spiritual Hammer|Paladin
casting sound = sound_Cast.wav
cast msg = /c summons a spiritual hammer.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,blunt
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
targeting type = self
level = 2
casting time = 5
casting time units = initiative
duration = 3
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = $VAR atk;$VAR cls;$VAR num;atk \= $IndexOf($AttackerContext());cls \= $GetBaseclassLevel(atk, "paladin");num \= (cls -# 6) /# 3;$GIVE_CHAR_ITEM($Myself(), "Spiritual Hammer|" + num);$SET_COMBATANT_SA("$AttackerContext(),"spellSpiritHammer",num);
end script = $VAR num;num \= $GET_COMBATANT_SA($AttackerContext(),"spellSpiritHammer");$TAKE_CHAR_ITEM($Myself(), "Spiritual Hammer|" + num);$DELETE_COMBATANT_SA($AttackerContext(),"spellSpiritHammer");
\(END)

// paladin level 3

\(BEGIN)
name = Cure Blindness|Paladin
casting sound = sound_Cast.wav
cast msg = /t can see again
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixBlind,cleric
Special Ability = spell_RemoveBlindness,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Disease|Paladin
casting sound = sound_Cast.wav
cast msg = /t is cured
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,cureDis
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixDisease,cleric
Special Ability = spell_RemoveDisease,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Dispel Magic|Paladin
casting sound = sound_Cast.wav
cast msg = /c dispels magical effects.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Attack,1
Special Ability = spell_Dispel,cleric
targeting type = areasquare
target width = 3
target height = 3
target range = 6
level = 3
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Prayer|Paladin
casting sound = sound_Cast.wav
cast msg = /c is praying.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Prayer.png,150,2,48,48,0,1,2,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$cleric$0
Special Ability = spell_Prayer,cleric
targeting type = party
level = 3
casting time = 6
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Remove Curse|Paladin
casting sound = sound_Cast.wav
cast msg = /c casts removes curse on /t.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$cleric$0
Special Ability = spell_FixCurse,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
activate script 1 = $CHAR_REMOVEALLITEMCURSE($TargetContext());$DELETE_CHARACTER_SA($TargetContext(),"IsBestowedCurse");$DELETE_CHARACTER_SA($TargetContext(),"IsCursed");$RETURN 1;
begin script = 
end script = 
\(END)

// paladin level 4

\(BEGIN)
name = Cure Serious Wounds|Paladin
casting sound = sound_Cast.wav
cast msg = /c casts Cure Serious Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$paladin$8
Special Ability = spell_FixCure,paladin
targeting type = touch
target quantity = 1
level = 4
casting time = 7
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,2d8+1,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Neutralize Poison|Paladin
casting sound = sound_Cast.wav
cast msg = /t is no longer poisoned.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_NeutralizePoison.png,200,14,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_FixPoison,paladin
Special Ability = spell_NeutralizePoison,paladin
targeting type = touch
target quantity = 1
level = 4
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,0,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil 10' Radius|Paladin
casting sound = sound_Cast.wav
cast msg = /t is protected from evil.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_ProtectionFromEvil,paladin
targeting type = areacircle
target quantity = 9
target range = 1
target radius = 1
level = 4
casting time = 7
casting time units = initiative
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sticks to Snakes|Paladin
casting sound = sound_Cast.wav
cast msg = /t is surrounded by snakes.
missile sound = none
coverage sound = none
hit sound = none
linger sound = sound_Hit.wav
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$paladin$8
Special Ability = spell_Attack,1
targeting type = areasquare
target width = 1
target height = 1
target range = 3
level = 4
casting time = 7
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d4)+level,delta,target,yes
begin script = 
end script = 
\(END)

// ranger spells:
// ranger druid spells level 1

\(BEGIN)
name = Detect Magic|Ranger
casting sound = sound_Cast.wav
cast msg = /t is detecting magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_DetectMagic,ranger
Special Ability = time,12
targeting type = self
level = 1
casting time = 3
casting time units = initiative
duration = 12
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTMAGIC,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Entangle|Ranger
casting sound = sound_Cast.wav
cast msg = Vines entangle /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = spell_coverage_Entangle.png,200,8,48,48,0,1,0,1,0,0
target hit art = none
target linger art = spell_linger_Entangle.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,bind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
Special Ability = spell_Entangle,ranger
targeting type = areacircle
target quantity = 25
target range = 8
target radius = 3
level = 1
casting time = 3
casting time units = initiative
duration = 10
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Faerie Fire|Ranger
casting sound = none
cast msg = /t is outlined in light.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_FaerieFire.png,210,2,48,48,0,1,4,1,0,0
target linger art = spell_linger_FaerieFire.png,200,4,48,48,0,1,4,1,0,0
school = Druid
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 3
casting time units = initiative
duration = 4*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_AC,2,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Invisibility to Animals|Ranger
casting sound = none
cast msg = /t is invisible to animals.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_InvisibilityAnimals.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
targeting type = touch
target quantity = 1
level = 1
casting time = 4
casting time units = initiative
duration = 10+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Shillelagh|Ranger
casting sound = sound_Cast.wav
cast msg = /c summons a shillelagh.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,blunt
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
targeting type = self
level = 1
casting time = 1
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = $GIVE_CHAR_ITEM($Myself(), "Shillelagh");
end script = $TAKE_CHAR_ITEM($Myself(), "Shillelagh");
\(END)

\(BEGIN)
name = Speak with Animals|Ranger
casting sound = sound_Cast.wav
cast msg = /t can speak with animals.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
targeting type = self
level = 1
casting time = 1
casting time units = rounds
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// ranger druid spells level 2

\(BEGIN)
name = Barkskin|Ranger
casting sound = none
cast msg = /c casts barkskin
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Barkskin,ranger
targeting type = touch
target quantity = 1
level = 2
casting time = 3
casting time units = initiative
duration = 4+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Light Wounds|Ranger
casting sound = sound_Cast.wav
cast msg = /c casts Cause Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 2
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Charm Person or Mammal|Ranger
casting sound = sound_Cast.wav
cast msg = /c casts a charm
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldAnimal.png,111,2,48,48,0,1,0,1,0,0
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
Special Ability = spell_CharmPersonOrMammal,ranger
targeting type = selectByCount
target quantity = 1
target range = 8
level = 2
casting time = 4
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Light Wounds|Ranger
casting sound = sound_Cast.wav
cast msg = /c casts Cure Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_CureLightWounds.png,200,11,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$ranger$7
Special Ability = spell_FixCure,ranger
targeting type = touch
target quantity = 1
level = 2
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slow Poison|Ranger
casting sound = sound_Cast.wav
cast msg = /t feels the poison slow.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_SlowPoison.png,150,7,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger,$18
Special Ability = spell_FixPoison,ranger
Special Ability = spell_SlowPoison,ranger
targeting type = touch
target quantity = 1
level = 2
casting time = 1
casting time units = initiative
duration = level
duration units = hours
target duration = 0
price = 200
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// ranger druid spells level 3

\(BEGIN)
name = Cause Disease|Ranger
casting sound = sound_Cast.wav
cast msg = /c casts cause disease
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Curse.png,111,2,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,disease
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
Special Ability = spell_Disease,ranger
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cure Disease|Ranger
casting sound = sound_Cast.wav
cast msg = /t is cured
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,cureDis
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_RemoveDisease,ranger
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Animal|Ranger
casting sound = sound_Cast.wav
cast msg = /t is held
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldAnimal.png,210,2,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldAnimal.png,150,26,48,48,0,1,4,1,0,0
school = Druid
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
Special Ability = spell_HoldAnimal,ranger
targeting type = selectByCount
target quantity = 1d4
target range = 6
level = 3
casting time = 5
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Neutralize Poison|Ranger
casting sound = sound_Cast.wav
cast msg = /t is no longer poisoned.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_NeutralizePoison.png,150,14,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_NeutralizePoison,ranger
targeting type = touch
target quantity = 1
level = 3
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,0,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Poison|Ranger
casting sound = sound_Cast.wav
cast msg = /t feels ill.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Poison.png,150,8,48,48,0,1,0,1,0,0
target linger art = none
school = Druid
cast by = druid
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
Special Ability = spell_Poison,ranger
targeting type = touch
target quantity = 1
level = 3
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection from Fire|Ranger
casting sound = sound_Cast.wav
cast msg = /t is protected from fire
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Druid.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Druid.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_cast_Druid.png,111,2,48,48,0,1,0,1,0,0
target linger art = spell_linger_ImmunityFire.png,200,2,48,48,0,1,4,1,0,0
school = Druid
cast by = druid
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$7
Special Ability = spell_Attack,1
Special Ability = spell_ProtectionFromFire,ranger
targeting type = touch
target quantity = 1
level = 3
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// ranger mu spells level 1

\(BEGIN)
name = Burning Hands|Ranger
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage.
missile sound = sound_Cast.wav
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_BurningHands.png,150,4,48,48,0,1,2,1,0,0
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-level,delta,target,yes
modify script 1 = $RETURN -# ($GET_CHAR_Lvl($IndexOf($AttackerContext()),"ranger") -# 8);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Charm Person|Ranger
casting sound = sound_Cast.wav
cast msg = /t is charmed
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
Special Ability = spell_CharmPerson,ranger
targeting type = selectByCount
target quantity = 1
target range = 12
level = 1
casting time = 1
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,delta,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Detect Magic|Ranger(Magic-User)
casting sound = sound_Cast.wav
cast msg = /t is detecting magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_DetectMagicMage,ranger
targeting type = self
level = 1
casting time = 1
casting time units = immediate
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTMAGIC,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Enlarge|Ranger
casting sound = sound_Cast.wav
cast msg = /t is enlarged
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
Special Ability = spell_Enlarge,ranger
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 1
casting time = 1
casting time units = immediate
duration = 10*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Friends|Ranger
casting sound = sound_Cast.wav
cast msg = /t is more charismatic
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect,Friendly
Special Ability = casterLevel,$ranger$8
targeting type = self
level = 1
casting time = 1
casting time units = immediate
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,2d4,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Magic Missile|Ranger
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MagicMissile.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_MagicMissile.png,150,6,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
Special Ability = spell_RangerlevelMU,1
targeting type = selectByCount
target quantity = 1
target range = 6+level
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,0,delta,target,yes
modify script 1 = $VAR n;$VAR i;$VAR dmg;n \= ($GET_CHAR_Lvl($IndexOf($AttackerContext()),"ranger") -# 7) /# 2;i \= 0;dmg \= 0;$WHILE (i <# n) {  dmg \= dmg +# $RANDOM(4) +# 2;  i \= i +# 1; };$DEBUG("n "+ n +", i "+ i +", dmg "+ dmg);$RETURN -# dmg;
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Evil|Ranger
casting sound = sound_Cast.wav
cast msg = /t is protected from evil
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_ProtectionFromEvil,ranger
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection From Good|Ranger
casting sound = sound_Cast.wav
cast msg = /t is protected from good.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_ProtectionFromGood,ranger
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Read Magic|Ranger
casting sound = sound_Cast.wav
cast msg = t is able to read magic.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = no
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
targeting type = self
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Reduce|Ranger
casting sound = sound_Cast.wav
cast msg = /t is reduced
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Reduce.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
Special Ability = spell_Reduce,ranger
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 1
casting time = 1
casting time units = immediate
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Shield|Ranger
casting sound = sound_Cast.wav
cast msg = /t is shielded.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Shield,ranger
targeting type = self
level = 1
casting time = 1
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Shocking Grasp|Ranger
casting sound = sound_Cast.wav
cast msg = /t is shocked for /d points of damage.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_ShockingGrasp.png,150,4,48,48,0,1,0,1,0,0
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,electricity
Special Ability = Dice,1
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,0,delta,target,yes
modify script 1 = $RETURN -# ($GET_CHAR_Lvl($IndexOf($AttackerContext()),"ranger") -# 7 +# $RANDOM(8));
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sleep|Ranger
casting sound = sound_Cast.wav
cast msg = /t is put to sleep
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Sleep.png,300,3,48,48,0,1,4,1,0,0
school = Magic User
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
Special Ability = spell_Sleep,ranger
targeting type = areacircle
target quantity = 22
target range = 3+level
target radius = 1
level = 1
casting time = 1
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

// ranger  mu spells level 2

\(BEGIN)
name = Detect Invisibility|Ranger
casting sound = sound_Cast.wav
cast msg = /t can see more clearly
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_SeeInvisible,ranger
targeting type = self
level = 2
casting time = 1
casting time units = initiative
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_DETECTINVISIBLE,1,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Invisibility|Ranger
casting sound = sound_Cast.wav
cast msg = /t is invisible
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_Invisibility.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Invisible,ranger
targeting type = touch
target quantity = 1
level = 2
casting time = 2
casting time units = initiative
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Knock|Ranger
casting sound = sound_Cast.wav
cast msg = /c opens a lock.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = no
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Unlock,ranger
targeting type = self
level = 2
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Mirror Image|Ranger
casting sound = sound_Cast.wav
cast msg = /t now has mirror images.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_MirrorImage.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_MirrorImage,ranger
targeting type = self
level = 2
casting time = 2
casting time units = initiative
duration = 3*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Ray of Enfeeblement|Ranger
casting sound = sound_Cast.wav
cast msg = /c casts Ray of Enfeeblement on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_RayOfEnfeeblement.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Enfeebled.png,0,1,48,48,0,0,0,1,0,0
school = Magic User
cast by = ranger
can target friend = no
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,mind
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spellClass,ranger
Special Ability = spell_Attack,1
Special Ability = spell_Enfeeble,ranger
targeting type = selectByCount
target quantity = 1
target range = level
level = 2
casting time = 2
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Stinking Cloud|Ranger
casting sound = sound_Cast.wav
cast msg = /t is paralyzed by a wretched stink.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = spell_linger_StinkingCloud.png,200,4,48,48,0,1,0,1,0,0
target hit art = none
target linger art = spell_linger_StinkingCloud.png,200,4,48,48,0,1,4,1,0,0
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = Par/Pois/DM
save result = none
Special Ability = DamageMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
Special Ability = spell_Attack,1
Special Ability = spell_StinkingCloud,ranger
targeting type = areasquare
target width = 2
target height = 2
target range = 3
level = 2
casting time = 2
casting time units = initiative
duration = level
duration units = rounds
target duration = 1d4+1
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Strength|Ranger
casting sound = sound_Cast.wav
cast msg = /t feels stronger
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Strength.png,300,2,48,48,0,1,0,1,0,0
school = Magic User
cast by = ranger
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = yes
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$ranger$8
targeting type = touch
target quantity = 1
level = 2
casting time = 1
casting time units = turns
duration = level
duration units = hours
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STR,1,delta,target,yes
spell effect 2 = $CHAR_STRMOD,1d0,absolute,target,yes
spell effect 3 = $CHAR_DAMAGEBONUS,1,delta,target,yes
spell effect 4 = $CHAR_HITBONUS,1,delta,target,yes
activate script 1 = $IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"fighter") ># 0){$RETURN 1;};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"paladin") ># 0){$RETURN 1;};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"ranger") ># 0) {$RETURN 1;}$ELSE{$RETURN 0;};
modify script 1 = $IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"fighter") ># 0) {$RANDOM(8);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"paladin") ># 0) {$RANDOM(8);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"ranger") ># 0) {$RANDOM(8);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"cleric") ># 0) {$RANDOM(6);};$IF ($GET_CHAR_Lvl($IndexOf($CharacterContext()),"druid") ># 0) {$RANDOM(6);}$ELSE{$RANDOM(4);};
modify script 2 = $IF($GET_CHAR_LIMITED_STR($IndexOf($CharacterContext())) \=\=# 18){$RETURN ($RANDOM(100) +# 1);};
begin script = 
end script = 
\(END)

// item spells

\(BEGIN)
name = itemEyesCharming
casting sound = none
cast msg = /t feels their hostility towards /c fade away
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Item
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = casterLevel,$item
Special Ability = spell_Charm,item
targeting type = selectByCount
target quantity = 1
target range = 10
level = 0
casting time = 0
casting time units = initiative
duration = 10
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = itemNecklaceMissiles
casting sound = sound_Cast.wav
cast msg = /t is hit with a ball of fire for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_hit_Fireball.wav
linger sound = none
cast art = none
missile art = spell_missile_Fireball.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_Fireball.png,150,2,48,48,0,1,4,1,0,0
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = casterLevel,$item
targeting type = areacircle
target quantity = 37
target range = 3
target radius = 0
level = 0
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(5d6),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = itemPotionGiantStrength
casting sound = none
cast msg = /t feels stronger
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect,Giant Strength
Special Ability = casterLevel,$item
targeting type = self
level = 0
casting time = 0
casting time units = immediate
duration = 10
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STR,21,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = itemPotionInvisibility
casting sound = sound_Cast.wav
cast msg = /t is invisible
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_Invisibility.png,200,2,48,48,0,1,4,1,0,0
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect,Potion Invisible
Special Ability = casterLevel,$item
Special Ability = item_PotionInvisibility,magicUser
targeting type = self
level = 0
casting time = 0
casting time units = immediate
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = itemPotionSpeed
casting sound = none
cast msg = /t feels faster.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect,Potion Speed
Special Ability = casterLevel,$item
targeting type = self
level = 0
casting time = 0
casting time units = immediate
duration = 3+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_MAXMOVE,200,percent,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = itemScrollImmuneDragonBreath
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$item
Special Ability = spell_ImmuneDragonBreath
targeting type = selectByCount
target quantity = 1
target range = level
level = 1
casting time = 0
casting time units = immediate
duration = 10
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = $TAKE_CHAR_ITEM($Myself(),"Scroll|19");$GIVE_CHAR_ITEM($Myself(),"Parchment");
\(END)

\(BEGIN)
name = WandFireball
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_hit_Fireball.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_Fireball.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_Fireball.png,150,4,240,240,0,1,4,1,0,0
target hit art = spell_hit_Fireball.png,150,2,48,48,0,1,4,1,0,0
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$item$6
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacircle
target quantity = 25
target range = 16
target radius = 2
level = 3
casting time = 2
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d6)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = WandIceStorm
casting sound = none
cast msg = /c pelts /t with ice for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_IceStorm.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_IceStorm.png,100,9,240,240,0,1,0,1,0,0
target hit art = spell_hit_IceStorm.png,150,3,48,48,0,1,2,1,0,0
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$item$6
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacircle
target quantity = 25
target range = 6
target radius = 2
level = 4
casting time = 1
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(3d10),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = WandLightningBolt
casting sound = none
cast msg = /c zaps /t for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_LightningBolt.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_LightningBolt.png,150,4,48,48,0,1,2,1,0,0
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,electricity
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$item$6
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = arealinepickstart
target width = 1
target length = 8
target range = 4+level
level = 3
casting time = 2
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d6)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = WandMagicMissile
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MagicMissile.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_MagicMissile.png,150,6,48,48,0,1,0,1,0,0
target linger art = none
school = Item
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$item$6
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = selectByCount
target quantity = 1
target range = 6+level
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(1d4+1)*((level+1)/2),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = WandParalysis
casting sound = sound_Cast.wav
cast msg = /c casts hold person
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldPerson.png,210,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldPerson.png,150,26,48,48,0,1,4,1,0,0
school = Item
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$item$6
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_HoldPersonMU,magicUser
targeting type = selectByCount
target quantity = 4
target range = 12
level = 3
casting time = 2
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

// miscellaneous spells

\(BEGIN)
name = Banish
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$cleric$0
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-20,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cold Fire Shield
casting sound = sound_Cast.wav
cast msg = /t is shielded.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_ColdFireShield.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_FireShieldCold,magicUser
targeting type = self
level = 4
casting time = 0
casting time units = initiative
duration = 2+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = HarmDisease
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,disease
Special Ability = casterLevel,$cleric$0
Special Ability = spell_HarmDisease,cleric
targeting type = touch
target quantity = 1
level = 6
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hot Fire Shield
casting sound = sound_Cast.wav
cast msg = /t is shielded.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_HotFireShield.png,200,2,48,48,0,1,4,1,0,0
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,fire
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_FireShieldHot,magicUser
targeting type = self
level = 4
casting time = 0
casting time units = initiative
duration = 2+level
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = OpenLocks
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = **UNLOCK**
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
targeting type = self
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = paladinCureDisease
casting sound = sound_Cast.wav
cast msg = /t is cured
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,cureDis
Special Ability = StandardDisplaySpellEffect
Special Ability = spell_RemoveDisease
targeting type = selectByCount
target quantity = 1
target range = 1
level = 1
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = paladinLayOnHands
casting sound = sound_Cast.wav
cast msg = /c heals /t by a laying on of hands.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_CureLightWounds.png,200,11,48,48,0,1,0,1,0,0
target linger art = none
school = Cleric
cast by = paladin
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$paladin$0
targeting type = selectByCount
target quantity = 1
target range = 1
level = 1
casting time = 1
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 10
priority = 500
spell effect 1 = $CHAR_HITPOINTS,2*level,delta,target,yes
activate script 1 = $IF ($GET_CHAR_UNDEAD($IndexOf($TargetContext())) \=\= ""){$RETURN 1;};
begin script = 
end script = 
\(END)

// monster spells

\(BEGIN)
name = Charm|MonsterBeholder
casting sound = sound_Cast.wav
cast msg = /c casts charm monster
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$monster
Special Ability = spell_Attack,1
Special Ability = spell_CharmMonster,magicUser
targeting type = SelectByHitDice
target range = 6
target number = 0
level = 4
casting time = 0
casting time units = immediate
duration = 14
duration units = days
target duration = 0
price = 0
priority = 960
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = $TAKE_CHAR_ITEM($Myself(), "monsterBeholderCharm");$GIVE_CHAR_ITEM($Myself(), "monsterBeholderCharm");
\(END)

\(BEGIN)
name = Fear|MonsterBeholder
casting sound = sound_Cast.wav
cast msg = /t is afraid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,fear
Special Ability = casterLevel,$monster
Special Ability = spell_Fear,magicUser
targeting type = areacone
target width = 3
target length = 6
target range = 1
level = 4
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 970
spell effect 1 = none
begin script = 
end script = $TAKE_CHAR_ITEM($Myself(), "monsterBeholderFear");$GIVE_CHAR_ITEM($Myself(), "monsterBeholderFear");
\(END)

\(BEGIN)
name = Flesh to Stone|MonsterBeholder
casting sound = none
cast msg = /t is petrified
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,petrify
Special Ability = casterLevel,$monster
Special Ability = spell_Petrify,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 6
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 980
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
begin script = 
end script = $TAKE_CHAR_ITEM($Myself(), "monsterBeholderFleshToStone");$GIVE_CHAR_ITEM($Myself(), "monsterBeholderFleshToStone");
\(END)

\(BEGIN)
name = Sleep|MonsterBeholder
casting sound = sound_Cast.wav
cast msg = /t is put to sleep
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Sleep.png,300,3,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = casterLevel,$monster
Special Ability = spell_Sleep,magicUser
targeting type = areacircle
target quantity = 22
target range = 3+level
target radius = 1
level = 1
casting time = 0
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 990
spell effect 1 = none
begin script = 
end script = $TAKE_CHAR_ITEM($Myself(), "monsterBeholderSleep");$GIVE_CHAR_ITEM($Myself(), "monsterBeholderSleep");
\(END)

\(BEGIN)
name = Slow|MonsterBeholder
casting sound = none
cast msg = /t feels slower
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$monster
Special Ability = spell_Slow,magicUser
targeting type = areasquare
target width = 0
target height = 0
target range = 4
level = 3
casting time = 0
casting time units = immediate
duration = 3+level
duration units = rounds
target duration = 0
price = 0
priority = 950
spell effect 1 = none
begin script = 
end script = $TAKE_CHAR_ITEM($Myself(), "monsterBeholderSlow");$GIVE_CHAR_ITEM($Myself(), "monsterBeholderSlow");
\(END)

\(BEGIN)
name = Invisibility|MonsterOgreMage
casting sound = sound_Cast.wav
cast msg = /t is invisible
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_Invisibility.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Invisible,magicUser
targeting type = self
level = 2
casting time = 2
casting time units = initiative
duration = 1
duration units = days
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Lightning Bolt|MonsterStormGiant
casting sound = none
cast msg = /c zaps /t for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_LightningBolt.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_LightningBolt.png,150,4,48,48,0,1,2,1,0,0
target linger art = none
school = Magic User
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,electricity
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$monster
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = arealinepickstart
target width = 1
target length = 8
target range = 4+level
level = 3
casting time = 3
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-8d8,delta,target,yes
begin script = 
end script = 
\(END)

// monster cleric spells

\(BEGIN)
name = Cause Blindness|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /t is blinded
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,blind
Special Ability = casterLevel,$monster
Special Ability = spell_Blind,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 930
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Critical Wounds|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /c casts Cause Critical Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$monster
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 5
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(3d8+3),delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Disease|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /t is diseased.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,disease
Special Ability = casterLevel,$monster
Special Ability = spell_Disease,cleric
targeting type = touch
target quantity = 1
level = 3
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 930
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Light Wounds|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /c casts Cause Light Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$monster
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 1
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 910
spell effect 1 = $CHAR_HITPOINTS,-1d8,delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cause Serious Wounds|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /c casts Cause Serious Wounds on /t
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = use THAC0
Special Ability = DamageMagical,wound
Special Ability = casterLevel,$monster
Special Ability = spell_Attack,1
targeting type = touch
target quantity = 1
level = 4
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 940
spell effect 1 = $CHAR_HITPOINTS,-(2d8+1),delta,target,yes
activate script 1 = $VAR tgt;tgt \= $IndexOf($TargetContext()); $IF (($GET_CHAR_UNDEAD(tgt) \=\= "") || ($GET_CHAR_UNDEAD(tgt) \=\= "none")){$RETURN 1;};
begin script = 
end script = 
\(END)

\(BEGIN)
name = Flame Strike|MonsterCleric
casting sound = sound_CastFlameStrike.wav
cast msg = /c blasts /t for /d points of damage.
missile sound = none
coverage sound = sound_CoverFlameStrike.wav
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_FlameStrike.png,200,4,48,48,0,1,2,1,0,0
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = casterLevel,$monster
targeting type = arealinepickstart
target width = 0
target length = 0
target range = 3
level = 5
casting time = 8
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 950
spell effect 1 = $CHAR_HITPOINTS,-(6d8),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Person|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /t is held.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_HoldPerson.png,210,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldPerson.png,150,26,48,48,0,1,4,1,0,0
school = Monster
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = casterLevel,$monster
Special Ability = spell_HoldPersonCleric,cleric
targeting type = selectByCount
target quantity = 3
target range = 6
level = 2
casting time = 5
casting time units = initiative
duration = 4+level
duration units = rounds
target duration = 0
price = 0
priority = 920
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Protection from Good|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /t is protected from good.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,2,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$monster
Special Ability = spell_ProtectionFromGood,cleric
targeting type = touch
target quantity = 1
level = 1
casting time = 4
casting time units = initiative
duration = 3*level
duration units = rounds
target duration = 0
price = 0
priority = 910
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Silence|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /t is silenced
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_Silence15.png,210,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$monster
Special Ability = spell_Silence,cleric
targeting type = areacircle
target quantity = 21
target range = 2
target radius = 0
level = 2
casting time = 5
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 920
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slay Living|MonsterCleric
casting sound = none
cast msg = /t is slain.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = none
target cover art = none
target hit art = spell_hit_SlayLiving.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = cleric
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = half damage
Special Ability = DamageMagical,death
Special Ability = casterLevel,$monster
targeting type = touch
target quantity = 1
level = 5
casting time = 1
casting time units = rounds
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 950
spell effect 1 = $CHAR_HITPOINTS,-11,absolute,target,yes
spell effect 2 = $CHAR_STATUS,2,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sticks to Snakes|MonsterCleric
casting sound = sound_Cast.wav
cast msg = /t is surrounded by snakes.
missile sound = none
coverage sound = none
hit sound = none
linger sound = sound_Hit.wav
cast art = spell_cast_Priest.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_Priest.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = cleric
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$monster
targeting type = areacircle
target quantity = 1
target range = 3
target radius = 1
level = 4
casting time = 7
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 940
spell effect 1 = $CHAR_HITPOINTS,-(1d4)+level,delta,target,yes
begin script = 
end script = 
\(END)

// monster mu spells

\(BEGIN)
name = Charm Monster|MonsterMage
casting sound = sound_Cast.wav
cast msg = /c casts charm monster
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$monster
Special Ability = spell_Attack,1
Special Ability = spell_CharmMonster,magicUser
targeting type = SelectByHitDice
target range = 6
target number = 0
level = 4
casting time = 4
casting time units = initiative
duration = 14
duration units = days
target duration = 0
price = 0
priority = 940
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Charm Person|MonsterMage
casting sound = sound_Cast.wav
cast msg = /c casts charm person
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$monster
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_CharmPerson,monster
targeting type = selectByCount
target quantity = 1
target range = 12
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fear|MonsterMage
casting sound = sound_Cast.wav
cast msg = /t is afraid.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,fear
Special Ability = casterLevel,$monster
Special Ability = spell_Fear,magicUser
targeting type = areacone
target width = 3
target length = 6
target range = 1
level = 4
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 940
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Fireball|MonsterMage
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_hit_Fireball.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_Fireball.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_Fireball.png,150,4,240,240,0,1,4,1,0,0
target hit art = spell_hit_Fireball.png,150,2,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = casterLevel,$monster
targeting type = areacircle
target quantity = 37
target range = 3
target radius = 0
level = 3
casting time = 3
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 930
spell effect 1 = $CHAR_HITPOINTS,-(1d6)*level,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Flesh to Stone|MonsterMage
casting sound = none
cast msg = /t is petrified
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,petrify
Special Ability = casterLevel,$monster
Special Ability = spell_Petrify,magicUser
targeting type = selectByCount
target quantity = 1
target range = level
level = 6
casting time = 6
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 960
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Monster|MonsterMage
casting sound = none
cast msg = /t is held immobile
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldMonster.png,200,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldMonster.png,200,26,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,hold
Special Ability = casterLevel,$monster
Special Ability = spell_HoldMonster,magicUser
targeting type = areasquare
target width = 0
target height = 0
target range = 5
level = 5
casting time = 5
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 950
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Hold Person|MonsterMage
casting sound = sound_Cast.wav
cast msg = /t is held
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldPerson.png,210,4,48,48,0,1,4,1,0,0
target linger art = spell_linger_HoldPerson.png,150,26,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,hold
Special Ability = casterLevel,$monster
Special Ability = spell_HoldPersonMU,magicUser
targeting type = selectByCount
target quantity = 4
target range = 6
level = 3
casting time = 3
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 930
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Ice Storm|MonsterMage
casting sound = none
cast msg = /c pelts /t with ice for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_IceStorm.png,50,8,48,48,1,1,0,1,0,0
target cover art = spell_coverage_IceStorm.png,100,9,240,240,0,1,0,1,0,0
target hit art = spell_hit_IceStorm.png,150,3,48,48,0,1,2,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,cold
Special Ability = casterLevel,$monster
targeting type = areacircle
target quantity = 25
target range = level
target radius = 2
level = 4
casting time = 4
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 940
spell effect 1 = $CHAR_HITPOINTS,-(3d10),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Magic Missile|MonsterMage
casting sound = sound_Cast.wav
cast msg = /c blasts /t with /s for /d points of damage
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MagicMissile.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_MagicMissile.png,150,6,48,48,0,1,0,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$monster
targeting type = selectByCount
target quantity = 1
target range = 6+level
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 910
spell effect 1 = $CHAR_HITPOINTS,-(1d4+1)*((level+1)/2),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = Mirror Image|MonsterMage
casting sound = sound_Cast.wav
cast msg = /t now has mirror images.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_MirrorImage.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = none
Special Ability = DamageMagical,illusion
Special Ability = casterLevel,$monster
Special Ability = spell_MirrorImage,magicUser
targeting type = self
level = 2
casting time = 2
casting time units = initiative
duration = 2*level
duration units = rounds
target duration = 0
price = 0
priority = 920
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Reduce|MonsterMage
casting sound = sound_Cast.wav
cast msg = /t is reduced
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Reduce.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = spell
save result = negates
Special Ability = DamageMagical,spell
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
Special Ability = spell_Reduce,magicUser
targeting type = selectByCount
target quantity = 1
target range = level/2
level = 1
casting time = 0
casting time units = initiative
duration = level
duration units = rounds
target duration = 0
price = 0
priority = 910
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Sleep|MonsterMage
casting sound = sound_Cast.wav
cast msg = /t is put to sleep
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Sleep.png,300,3,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,charm
Special Ability = casterLevel,$monster
Special Ability = spell_Sleep,magicUser
targeting type = areacircle
target quantity = 22
target range = 3+level
target radius = 1
level = 1
casting time = 1
casting time units = immediate
duration = 5*level
duration units = rounds
target duration = 0
price = 0
priority = 910
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Slow|MonsterMage
casting sound = none
cast msg = /t feels slower
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,spell
Special Ability = casterLevel,$monster
Special Ability = spell_Slow,magicUser
targeting type = areasquare
target width = 0
target height = 0
target range = 4
level = 3
casting time = 3
casting time units = initiative
duration = 3+level
duration units = rounds
target duration = 0
price = 0
priority = 930
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Stinking Cloud|MonsterMage
casting sound = sound_Cast.wav
cast msg = /t is paralyzed by a wretched stink.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = spell_linger_StinkingCloud.png,200,4,48,48,0,1,0,1,0,0
target hit art = none
target linger art = spell_linger_StinkingCloud.png,200,4,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = no
save versus = Par/Pois/DM
save result = none
Special Ability = DamageMagical,poison
Special Ability = casterLevel,$monster
Special Ability = spell_StinkingCloud,magicUser
targeting type = areasquare
target width = 0
target height = 0
target range = 2
level = 2
casting time = 2
casting time units = initiative
duration = level
duration units = rounds
target duration = 1d4+1
price = 0
priority = 920
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = Cold Ray|MonsterOgreMage
casting sound = none
cast msg = /t is frozen for /d points of damage.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,0,1,0,0
missile art = spell_missile_ConeOfCold.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_ConeOfCold.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = yes
allow scribe = yes
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = half damage
Special Ability = DamageMagical,cold
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$magicUser$0
Special Ability = spellClass,magicUser
Special Ability = spell_Attack,1
targeting type = areacone
target width = 0
target length = 0
target range = level/2
level = 5
casting time = 5
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_HITPOINTS,-(8d8),delta,target,yes
begin script = 
end script = 
\(END)

// monster attacks & effects

\(BEGIN)
name = monsterBasiliskPetrifyGaze
casting sound = none
cast msg = /c gazes at /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Monster.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldAnimal.png,200,2,48,48,0,1,0,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Pet/Poly
save result = negates
Special Ability = DamageMagical,petrify
Special Ability = casterLevel,$monster
targeting type = selectByCount
target quantity = 1
target range = 3
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"IsPetrified","Petrified");
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterBearHug1
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_BearHug1,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterBearHug2
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_BearHug2,2
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterBlackPuddingAttack
casting sound = none
cast msg = /c hits /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,dissolve
Special Ability = casterLevel,$monster
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 995
spell effect 1 = none
begin script = $VAR round;round \= $GetCombatRound();$SET_CHARACTER_SA($TargetContext(),"IsBlackPuddingDissolving",round);
end script = 
\(END)

\(BEGIN)
name = monsterCarrionStench
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
targeting type = self
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_COMBATANT_SA($TargetContext(),"IsCarrionStenchable",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDracoliskBreathWeapon
casting sound = none
cast msg = /c breathes acid on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathAcid.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_DragonBreathAcid.png,120,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,acid
Special Ability = DragonBreathWeapon,acid
Special Ability = casterLevel,$monster
targeting type = arealinepickend
target width = 1
target length = 3
target range = 3
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-4d6,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDracoliskPetrifyGaze
casting sound = none
cast msg = /c petrifies /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Monster.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Pet/Poly
save result = negates
Special Ability = DamageMagical,petrify
Special Ability = casterLevel,$monster
targeting type = selectByCount
target quantity = 1
target range = 0
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"IsPetrified","Petrified");
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponAcid
casting sound = none
cast msg = /c breathes acid on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathAcid.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_DragonBreathAcid.png,120,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,acid
Special Ability = DragonBreathWeapon,acid
Special Ability = casterLevel,$monster
targeting type = arealinepickend
target width = 1
target length = 6
target range = 6
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-35,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponCold
casting sound = none
cast msg = /c breathes frost on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathCold.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_ConeOfCold.png,120,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,cold
Special Ability = DragonBreathWeapon,cold
Special Ability = casterLevel,$monster
targeting type = areacone
target width = 3
target length = 7
target range = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-30,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponColdSilver
casting sound = none
cast msg = /c breathes frost on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathCold.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_ConeOfCold.png,120,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,cold
Special Ability = DragonBreathWeapon,cold
Special Ability = casterLevel,$monster
targeting type = areacone
target width = 3
target length = 8
target range = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-50,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponFear
casting sound = none
cast msg = /c breathes poison on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_linger_StinkingCloud.png,200,2,48,48,0,1,4,1,0,0
target cover art = none
target hit art = spell_linger_Cloudkill.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,mind
Special Ability = DragonBreathWeapon,fear
Special Ability = casterLevel,$monster
Special Ability = spell_Fear,magicUser
targeting type = areasquare
target width = 4
target height = 5
target range = 3
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponFire
casting sound = none
cast msg = /c breathes fire on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathFire.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_DragonBreathFire.png,200,2,48,48,0,3,6,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = DragonBreathWeapon,fire
Special Ability = casterLevel,$monster
targeting type = areacone
target width = 3
target length = 9
target range = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-50,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponLightning
casting sound = none
cast msg = /c breathes lightning on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathLightning.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_DragonBreathLightning.png,200,2,48,48,0,3,6,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,electricity
Special Ability = DragonBreathWeapon,electricity
Special Ability = casterLevel,$monster
targeting type = arealinepickend
target width = 1
target length = 10
target range = 10
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-45,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponParalysis
casting sound = none
cast msg = /c breathes poison on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_linger_StinkingCloud.png,200,2,48,48,0,1,4,1,0,0
target cover art = none
target hit art = spell_linger_Cloudkill.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,poison
Special Ability = DragonBreathWeapon,paralysis
Special Ability = casterLevel,$monster
targeting type = areasquare
target width = 4
target height = 5
target range = 3
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponPoison
casting sound = none
cast msg = /c breathes poison on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_linger_StinkingCloud.png,200,2,48,48,0,1,4,1,0,0
target cover art = none
target hit art = spell_linger_Cloudkill.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,poison
Special Ability = DragonBreathWeapon,poison
Special Ability = casterLevel,$monster
targeting type = areasquare
target width = 4
target height = 5
target range = 3
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-40,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponSleep
casting sound = none
cast msg = /c breathes poison on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_linger_StinkingCloud.png,200,2,48,48,0,1,4,1,0,0
target cover art = none
target hit art = spell_linger_Cloudkill.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,mind
Special Ability = DragonBreathWeapon,sleep
Special Ability = casterLevel,$monster
Special Ability = spell_Sleep,magicUser
targeting type = areasquare
target width = 4
target height = 7
target range = 4
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDragonBreathWeaponSlow
casting sound = none
cast msg = /c breathes poison on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_linger_StinkingCloud.png,200,2,48,48,0,1,4,1,0,0
target cover art = none
target hit art = spell_linger_Cloudkill.png,200,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = yes
linger affects once = yes
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,mind
Special Ability = DragonBreathWeapon,slow
Special Ability = casterLevel,$monster
Special Ability = spell_Slow,magicUser
targeting type = areasquare
target width = 2
target height = 3
target range = 2
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterDriderParalyzingBite
casting sound = none
cast msg = /c paralyzes /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Pet/Poly
save result = negates
Special Ability = DamageMagical,paralysis
Special Ability = casterLevel,$monster
targeting type = selectByCount
target quantity = 1
target range = 1
level = 1
casting time = 0
casting time units = initiative
duration = (1d2)*10
duration units = rounds
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_CHA,0,delta,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"IsParalyzed","");
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterEngulf1
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_Engulf1,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterEngulf2
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_Engulf2,2
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterFireBatAttack
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_FireBatAttack,2
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterGiantSlugSpit
casting sound = sound_Cast.wav
cast msg = /c spits acid at /t.
missile sound = none
coverage sound = none
hit sound = sound_Hit.wav
linger sound = none
cast art = none
missile art = monster_missile_GiantSlugSpittle.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = monster_hit_GiantSlugSpittle.png,150,9,48,48,0,1,0,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_GiantSlugSpit
targeting type = selectByCount
target quantity = 1
target range = 6+level
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 997
spell effect 1 = $CHAR_HITPOINTS,-(1d12),delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterGiantWeaselAttack
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_GiantWeaselAttack,2
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterGorgonBreathWeapon
casting sound = none
cast msg = /c breathes acid on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_DragonBreathAcid.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_DragonBreathAcid.png,120,4,48,48,0,1,4,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = negates
Special Ability = DamageMagical,petrify
Special Ability = castingLevel,$monster
Special Ability = monster_GorgonBreath
targeting type = areacone
target width = 2
target length = 6
target range = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterGreenSlimeAttack
casting sound = none
cast msg = /c attaches to /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,slime
Special Ability = casterLevel,$monster
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 997
spell effect 1 = none
begin script = $VAR round;round \= $GetCombatRound();$SET_CHARACTER_SA($TargetContext(),"IsGreenSlimed",round);
end script = 
\(END)

\(BEGIN)
name = monsterHellHoundBreathWeapon
casting sound = none
cast msg = /c breathes fire on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Fireball.png,0,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_Fireball.png,200,2,48,48,0,1,0,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,fire
Special Ability = casterLevel,$monster
targeting type = arealinepickend
target width = 1
target length = 1
target range = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-6,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterMedusaPetrifyGaze
casting sound = none
cast msg = /c gazes at /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Monster.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_HoldAnimal.png,200,2,48,48,0,1,0,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Pet/Poly
save result = negates
Special Ability = DamageMagical,petrify
Special Ability = casterLevel,$monster
targeting type = selectByCount
target quantity = 1
target range = 3
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"IsPetrified","Petrified");
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterMindFlayerMindBlast
casting sound = none
cast msg = /c psionically stuns /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Monster.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = casterLevel,$monster
Special Ability = spell_MindBlast,monster
targeting type = areacone
target width = 1
target length = 1
target range = 6
level = 1
casting time = 0
casting time units = immediate
duration = 3d4
duration units = rounds
target duration = 0
price = 0
priority = 999
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterMindFlayerTentacle
casting sound = none
cast msg = /c probes /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,mind
Special Ability = casterLevel,$monster
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 997
spell effect 1 = none
begin script = $VAR round;round \= $GetCombatRound();$SET_CHARACTER_SA($TargetContext(),"IsMindFlayed",round);
end script = 
\(END)

\(BEGIN)
name = monsterMummyRot
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,disease
Special Ability = spell_MummyRot,1
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterParalysis
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
Special Ability = spell_Paralysis,monster
targeting type = self
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPetrify
casting sound = none
cast msg = /c petrifies /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Pet/Poly
save result = negates
Special Ability = DamageMagical,petrify
Special Ability = casterLevel,$monster
targeting type = self
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_STATUS,4,absolute,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"IsPetrified","Petrified");
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPoison
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = monster_Poison
targeting type = selectByCount
target quantity = 1
target range = 0
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPoisonCentipede
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = monster_Poison
targeting type = selectByCount
target quantity = 1
target range = 0
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_AC,-1,delta,target,yes
spell effect 2 = $CHAR_SAVEVSPP,-4,delta,target,yes
saving throw succeeded script 1 = $SET_CHAR_HITPOINTS($IndexOf($TargetContext()), $GET_CHAR_HITPOINTS($IndexOf($TargetContext())) -# 30);
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPoisonCloud
casting sound = sound_Cast.wav
cast msg = /t is poisoned by a deadly cloud.
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = spell_linger_Cloudkill.png,210,4,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = yes
lingers = yes
linger affects once = yes
save versus = Par/Pois/DM
save result = none
Special Ability = DamageNonMagical,poison
targeting type = self
level = 1
casting time = 0
casting time units = immediate
duration = 10
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPoisonFrog
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = monster_Poison
targeting type = selectByCount
target quantity = 1
target range = 0
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_SAVEVSPP,-4,delta,target,yes
saving throw succeeded script 1 = $SET_CHAR_HITPOINTS($IndexOf($TargetContext()), $GET_CHAR_HITPOINTS($IndexOf($TargetContext())) -# 30);
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPoisonSnake
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = monster_Poison
targeting type = selectByCount
target quantity = 1
target range = 0
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw succeeded script 1 = $SET_CHAR_HITPOINTS($IndexOf($TargetContext()), $GET_CHAR_HITPOINTS($IndexOf($TargetContext())) -# ($RANDOM(6) +# $RANDOM(6) +# $RANDOM(6) +# 3));
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPoisonWyvern
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = Par/Pois/DM
save result = negates
Special Ability = DamageNonMagical,poison
Special Ability = StandardDisplaySpellEffect
Special Ability = monster_Poison
targeting type = selectByCount
target quantity = 1
target range = 0
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw succeeded script 1 = $SET_CHAR_HITPOINTS($IndexOf($TargetContext()), $GET_CHAR_HITPOINTS($IndexOf($TargetContext())) -# ($RANDOM(6) +# 1));
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterPurpleWormSwallow
casting sound = none
cast msg = /c swallows /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,acid
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_HITPOINTS,-11,absolute,target,yes
spell effect 2 = $CHAR_STATUS,5,absolute,target,yes
begin script = $VAR toHit;toHit \= $ToHitComputation_Roll();$IF (toHit \=\=# 20){$RETURN "1";}$ELSE {$RETURN "0";};
end script = 
\(END)

\(BEGIN)
name = monsterPyroliskImmolationGaze
casting sound = none
cast msg = /c gazes at /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Monster.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = spell_hit_Fireball.png,200,2,48,48,0,1,0,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Pet/Poly
save result = negates
Special Ability = DamageMagical,fire
Special Ability = casterLevel,$monster
targeting type = selectByCount
target quantity = 1
target range = 3
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_HITPOINTS,-11,absolute,target,yes
saving throw succeeded script 1 = $VAR tgt;$VAR rndm;tgt \= $IndexOf($CharacterContext());rndm \= $RANDOM(12) +# 2;$SET_COMBATANT_SA($TargetContext(),"savedPyrolisk",1);$SET_CHAR_HITPOINTS(tgt, $GET_CHAR_HITPOINTS(tgt) -# rndm);
begin script = $IF ($GET_COMBATANT_SA($TargetContext(),"savedPyrolisk") !\= "-?-?-"){$RETURN "0";};$IF ($GET_COMBATANT_SA($TargetContext(),"elemental_ImmuneFire") !\= "-?-?-"){$RETURN "0";};$IF ($GET_COMBATANT_SA($TargetContext(),"elemental_ResistantFire") !\= "-?-?-"){$RETURN "0";};
end script = 
\(END)

\(BEGIN)
name = monsterRearClawRake1
casting sound = none
cast msg = /c Claws /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_RearClawRake1,1
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterRearClawRake2
casting sound = none
cast msg = /c Claws /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_RearClawRake2,2
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterRemorhazSwallow
casting sound = none
cast msg = /c swallows /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,acid
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_HITPOINTS,-11,absolute,target,yes
spell effect 2 = $CHAR_STATUS,5,absolute,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterSalamanderFireAttack
casting sound = none
cast msg = /c burns /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageMagical,fire
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_HITPOINTS,-1d6,delta,target,yes
activate script 1 = $IF ($GET_COMBATANT_SA($TargetContext(),"elemental_ImmuneFire") !\= "-?-?-"){$RETURN "0";};
modify script 1 = $IF ($GET_COMBATANT_SA($TargetContext(),"elemental_ResistantFire") \=\= "-?-?-"){$RETURN -1 *# ($RANDOM(6) +# 1);};
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterShadowDrainStrength
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,drain
Special Ability = monster_DrainStrength,1
targeting type = touch
target quantity = 1
level = 1
casting time = 1
casting time units = immediate
duration = 2d4
duration units = rounds
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterStirgeAttack
casting sound = none
cast msg = 
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,animal
Special Ability = monster_StirgeAttack,2
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterUmberHulkConfusionGaze
casting sound = none
cast msg = /c confuses /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_Monster.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = casterLevel,$monster
Special Ability = spell_Confusion,monster
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterUndeadDrainLevel
casting sound = none
cast msg = /t feels diminished
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageNonMagical,drain
Special Ability = spell_Drain,monster
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterVampireCharmGaze
casting sound = sound_Cast.wav
cast msg = /c casts charm person
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = spell_cast_MU.png,210,2,48,48,0,1,4,1,0,0
missile art = spell_missile_MU.png,100,4,48,48,0,1,0,1,0,0
target cover art = none
target hit art = none
target linger art = spell_linger_Charm.png,200,2,48,48,0,1,4,1,0,0
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = yes
lingers = no
linger affects once = no
save versus = spell
save result = negates
Special Ability = DamageMagical,charm
Special Ability = StandardDisplaySpellEffect
Special Ability = casterLevel,$monster
Special Ability = spell_Attack,1
Special Ability = spell_CharmPerson,magicUser
targeting type = selectByCount
target quantity = 1
target range = 12
level = 1
casting time = 1
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_CHA,100,percent,target,yes
saving throw failed script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",0);
saving throw succeeded script 1 = $SET_CHARACTER_SA($TargetContext(),"saved",1);
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterVampireDrainLevel
casting sound = none
cast msg = /t feels diminished
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,drain
Special Ability = spell_DrainVamp,monster
targeting type = touch
target quantity = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 500
spell effect 1 = none
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterWinterWolfBreathWeapon
casting sound = none
cast msg = /c breathes frost on /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = spell_missile_IceStorm.png,50,8,48,48,1,1,0,1,0,0
target cover art = none
target hit art = spell_hit_IceStorm.png,150,3,48,48,0,1,2,1,0,0
target linger art = none
school = Monster
cast by = magicUser
can target friend = yes
can target enemy = yes
cumulative = yes
can memorize = no
allow scribe = no
auto scribe = no
in camp = no
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = Breath Weapon
save result = half damage
Special Ability = DamageMagical,cold
Special Ability = casterLevel,$monster
targeting type = arealinepickend
target width = 1
target length = 1
target range = 1
level = 1
casting time = 0
casting time units = immediate
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 999
spell effect 1 = $CHAR_HITPOINTS,-4d6,delta,target,yes
begin script = 
end script = 
\(END)

\(BEGIN)
name = monsterYetiSqueeze
casting sound = none
cast msg = /c swallows /t
missile sound = none
coverage sound = none
hit sound = none
linger sound = none
cast art = none
missile art = none
target cover art = none
target hit art = none
target linger art = none
school = Monster
cast by = magicUser
can target friend = no
can target enemy = yes
cumulative = no
can memorize = no
allow scribe = no
auto scribe = no
in camp = yes
in combat = yes
can be dispelled = no
lingers = no
linger affects once = no
save versus = spell
save result = none
Special Ability = DamageNonMagical,cold
targeting type = selectByCount
target quantity = 1
target range = 8
level = 1
casting time = 0
casting time units = initiative
duration = 0
duration units = instantaneous
target duration = 0
price = 0
priority = 998
spell effect 1 = $CHAR_HITPOINTS,-2d8,delta,target,yes
begin script = $VAR toHit;toHit \= $ToHitComputation_Roll();$IF (toHit \=\=# "20"){$RETURN "1";}$ELSE {$RETURN "0";};
end script = 
\(END)

\(BEGIN)
name = $$Help
Special Ability = Date,"October 15, 2014"
Special Ability = Version,"1.01"
Special Ability = Updates1_01,"added Cause Critical Wounds|MonsterCleric, updated many AoE for various spells, corrected misnamed special abilities in multiple cleric and monster spells"
\(END)

