[Spell 1]
// NOTE: This spell at low levels is deadly and can stop a player from running at high level an annoyance at best
DEFNAME=s_Clumsy
NAME=Clumsy
SOUND=snd_SPELL_CLUMSY
RUNES=UJ
CAST_TIME=0.5
RESOURCES=i_reag_blood_moss,i_reag_nightshade
RUNE_ITEM=i_rune_CLUMSY
SCROLL_ITEM=i_scroll_CLUMSY
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_DIR_ANIM|SPELLFLAG_HARM|SPELLFLAG_FX_TARG|spellflag_playeronly
EFFECT_ID=i_fx_curse
EFFECT=4,18
DURATION=60.0,2*60.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 0.0
INTERRUPT=0.0,0.0

ON=@Effect
IF (<DEX> < 25)
RETURN 1
ENDIF

[Spell 2]
DEFNAME=s_create_food
NAME=Create Food
SOUND=snd_SPELL_CREATE_FOOD
RUNES=IMY
CAST_TIME=0.5
RESOURCES=i_reag_garlic,i_reag_ginseng,i_reag_mandrake_root
RUNE_ITEM=i_rune_CREATE_FOOD
SCROLL_ITEM=i_scroll_CREATE_FOOD
FLAGS=SPELLFLAG_TARG_XYZ|spellflag_playeronly
EFFECT_ID=0
EFFECT=0
DURATION=0.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 0.0
INTERRUPT=0.0,0.0

[Spell 3]
DEFNAME=s_feeblemind
NAME=Feeblemind
SOUND=snd_SPELL_FEEBLEMIND
RUNES=RW
CAST_TIME=0.5
RESOURCES=i_reag_ginseng,i_reag_nightshade
RUNE_ITEM=i_rune_FEEBLEMIND
SCROLL_ITEM=i_scroll_FEEBLEMIND
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_DIR_ANIM|SPELLFLAG_HARM|SPELLFLAG_FX_TARG|spellflag_playeronly
EFFECT_ID=i_fx_curse
EFFECT=4,18
DURATION=60.0,2*60.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 0.0
INTERRUPT=0.0,0.0

ON=@Effect
IF (<INT> < 25)
RETURN 1
ENDIF

[Spell 4]
DEFNAME=s_heal
NAME=Heal
SOUND=snd_SPELL_HEAL
RUNES=IM
CAST_TIME=0.5
RESOURCES=i_reag_garlic,i_reag_ginseng,i_reag_spider_silk
RUNE_ITEM=i_rune_HEAL
SCROLL_ITEM=i_scroll_HEAL
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_FX_TARG|SPELLFLAG_GOOD|spellflag_playeronly
EFFECT_ID=i_fx_HEAL_EFFECT
EFFECT=7,15
DURATION=0.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 0.0
INTERRUPT=0.0,0.0

ON=@Effect
IF (<ARGO.ISITEM>)
	IF (<ARGO.TYPE>==T_POTION)
		IF (<FINDLAYER.LAYER_RING.TAG0.ENCHANCEPOTIONS>)
		ARGN2 += <EVAL ((<ARGN2>*<FINDLAYER.LAYER_RING.TAG0.ENCHANCEPOTIONS>)/100)>
		ENDIF
		IF (<FINDLAYER.LAYER_WRIST.TAG0.ENCHANCEPOTIONS>)
		ARGN2 += <EVAL ((<ARGN2>*<FINDLAYER.LAYER_WRIST.TAG0.ENCHANCEPOTIONS>)/100)>
		ENDIF
	ENDIF
	IF (<SRC.ALCHEMY> >= 33.0)
	ARGN2 += <EVAL ((<ARGN2>*(10*(<ALCHEMY>/330)))/100)>
	ENDIF
ENDIF
IF (<tag0.mortalwounded>) || (<flags>&statf_poisoned)
src.sysmessageloc -1,500951
return 1
ENDIF

[Spell 5]
DEFNAME=s_magic_arrow
NAME=Magic Arrow
SOUND=snd_SPELL_MAGIC_ARROW
CAST_TIME=0.5
RUNES=IPY
RESOURCES=i_reag_sulfur_ash
RUNE_ITEM=i_rune_MAGIC_ARROW
SCROLL_ITEM=i_scroll_MAGIC_ARROW
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_DIR_ANIM|SPELLFLAG_HARM|SPELLFLAG_TARG_OBJ|spellflag_playeronly
EFFECT_ID=0
EFFECT=1,3
DURATION=0.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 10.0
INTERRUPT=0.0,0.0

[Spell 6]
DEFNAME=s_night_sight
NAME=Night Sight
SOUND=snd_SPELL_NIGHT_SIGHT
RUNES=IL
CAST_TIME=0.5
RESOURCES=i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM=i_rune_NIGHT_SIGHT
SCROLL_ITEM=i_scroll_NIGHT_SIGHT
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_FX_TARG|SPELLFLAG_GOOD|spellflag_playeronly
EFFECT_ID=i_fx_HEAL_EFFECT
EFFECT=0
DURATION=3*60.0,10*60.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 10.0
INTERRUPT=0.0,0.0

ON=@Effect
IF (<ARGO.ISITEM>)
	IF (<ARGO.TYPE>==T_POTION)
		IF (<FINDLAYER.LAYER_RING.TAG0.ENCHANCEPOTIONS>)
		ARGN2 += <EVAL ((<ARGN2>*<FINDLAYER.LAYER_RING.TAG0.ENCHANCEPOTIONS>)/100)>
		ENDIF
		IF (<FINDLAYER.LAYER_WRIST.TAG0.ENCHANCEPOTIONS>)
		ARGN2 += <EVAL ((<ARGN2>*<FINDLAYER.LAYER_WRIST.TAG0.ENCHANCEPOTIONS>)/100)>
		ENDIF
	ENDIF
	IF (<SRC.ALCHEMY> >= 33.0)
	ARGN2 += <EVAL ((<ARGN2>*(10*(<ALCHEMY>/330)))/100)>
	ENDIF
ENDIF

[Spell 7]
DEFNAME=s_reactive_armor
NAME=Reactive Armor
SOUND=snd_SPELL_REACTIVE_ARMOR
RUNES=FS
CAST_TIME=0.5
RESOURCES=i_reag_garlic,i_reag_sulfur_ash,i_reag_spider_silk
RUNE_ITEM=i_rune_REACTIVE_ARMOR
SCROLL_ITEM=i_scroll_REACTIVE_ARMOR
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_FX_TARG|SPELLFLAG_GOOD|spellflag_playeronly
EFFECT_ID=i_fx_HEAL_EFFECT
EFFECT=10.0,60.0
DURATION=60.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 0.0
INTERRUPT=0.0,0.0

[Spell 8]
DEFNAME=s_weaken
NAME=Weaken
SOUND=snd_SPELL_WEAKEN
RUNES=DM
CAST_TIME=0.5
RESOURCES=i_reag_garlic,i_reag_nightshade
RUNE_ITEM=i_rune_WEAKEN
SCROLL_ITEM=i_scroll_WEAKEN
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_DIR_ANIM|SPELLFLAG_HARM|SPELLFLAG_FX_TARG|spellflag_playeronly
EFFECT_ID=i_fx_curse
EFFECT=4,18
DURATION=60.0,2*60.0
MANAUSE=4
SKILLREQ=SKILL_MAGERY 10.0
INTERRUPT=0.0,0.0

ON=@Effect
IF (<STR> < 25)
RETURN 1
ENDIF

[EOF]