[unit]
	id=Elvish Sorceress
	name= _ "female^Elvish Sorceress"
	race=elf
	gender=female
	image="units/elves-wood/sorceress.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=41
	movement_type=woodland
	movement=5
	experience=100
	level=2
	alignment=neutral
	advanceto=Elvish Enchantress
	cost=34
	usage=mixed fighter
	unit_description= _ "The world of faerie is far more potent than the corporeal world. Simply bringing some of this world into our own can have violent results. This is well-understood by the elves, although rarely used with malicious intent; doing so is no easy task, and is a very ill-regarded use of their strength.

Those able to do so are roughly titled as 'sorceresses' by other races; and certainly are capable of acting the part.

Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_SLOW}
	die_sound={SOUND_LIST:ELF_FEMALE_HIT}
	[resistance]
		cold=90
	[/resistance]
	[attack]
		name=staff
		type=impact
		range=melee
		damage=4
		number=2
		range=melee
		icon=attacks/druidstaff.png
		[animation]
			[frame]
				begin=-200
				end=-175
				image="units/elves-wood/sorceress.png"
			[/frame]
			[frame]
				begin=-175
				end=-125
				image="units/elves-wood/sorceress-magic.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-125
					end=50
					image="units/elves-wood/sorceress-melee.png"
					sound=staff.wav
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-125
					end=50
					image="units/elves-wood/sorceress-melee.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=50
				end=100
				image="units/elves-wood/sorceress-magic.png"
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/elves-wood/sorceress.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=entangle
		type=impact
		[specials]
			{WEAPON_SPECIAL_SLOW}
		[/specials]
		damage=4
		number=3
		range=ranged
		[animation]
			[missile_frame]
				begin=-200
				end=50
				image="projectiles/entangle.png"
				image_diagonal="projectiles/entangle.png"
			[/missile_frame]

			[frame]
				begin=-450
				end=-375
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo1.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-375
				end=-300
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo2.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-300
				end=-225
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo3.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-225
				end=-150
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo4.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo5.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-75
				end=0
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo6.png
				sound=entangle.wav
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-0
				end=75
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo7.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=75
				end=150
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/nature-halo8.png
				halo_x,halo_y=0,-28
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=faerie fire
		type=cold
		damage=7
		number=4
		range=ranged
		[specials]
			{WEAPON_SPECIAL_MAGICAL}
		[/specials]
		icon=attacks/faerie-fire.png
		[animation]
			{MISSILE_FRAME_FAERIE_FIRE}
			
			[if]
				hits=yes
				[frame]
					begin=-450
					end=-375
					image="units/elves-wood/sorceress-magic.png"
					sound=magic-faeriefire.ogg
	
					halo=halo/elven/faerie-fire-halo1.png
					halo_x,halo_y=0,-28
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-450
					end=-375
					image="units/elves-wood/sorceress-magic.png"
					sound=magic-faeriefire-miss.ogg

					halo=halo/elven/faerie-fire-halo1.png
					halo_x,halo_y=0,-28
				[/frame]
			[/else]
			
			[frame]
				begin=-375
				end=-300
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/faerie-fire-halo2.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-300
				end=-225
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/faerie-fire-halo3.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-225
				end=-150
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/faerie-fire-halo4.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/faerie-fire-halo5.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-75
				end=0
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/faerie-fire-halo6.png
				halo_x,halo_y=0,-28
			[/frame]
			[frame]
				begin=-0
				end=75
				image="units/elves-wood/sorceress-magic.png"
				halo=halo/elven/faerie-fire-halo7.png
				halo_x,halo_y=0,-28
			[/frame]

		[/animation]
	[/attack]
	{DEFENSE_ANIM_FILTERED "units/elves-wood/sorceress-defend.png" "units/elves-wood/sorceress.png" {SOUND_LIST:ELF_FEMALE_HIT} range=melee }
	{DEFENSE_ANIM_ELVEN_FILTERED "units/elves-wood/sorceress-defend.png" "units/elves-wood/sorceress.png" {SOUND_LIST:ELF_FEMALE_HIT} range=ranged }
[/unit]
