[unit]
	id=Elvish High Lord
	name= _ "Elvish High Lord"
	race=elf
	image="elvish-high-lord.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	profile=portraits/kalenz.png
	hitpoints=63
	movement_type=woodland
	movement=6
	experience=100
	level=3
	alignment=neutral
	advanceto=null
	{AMLA_TOUGH 3}
	cost=60
	usage=fighter
	unit_description= _ "The leaders of the elves do not fall sallow and frail with age. Rather, it is then that they grow to their true potential. Quiet and contemplative in times of peace, a High Lord in the full of his wrath is an awesome sight indeed."
	die_sound={SOUND_LIST:ELF_HIT}
	[attack]
		name=sword
		icon=attacks/sword-elven.png
		type=blade
		range=melee
		damage=10
		number=4
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-175
				image="elvish-high-lord.png"
			[/frame]
			[frame]
				begin=-175
				end=-75
				image="elvish-high-lord-attack-sword-1.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=-75
				end=100
				image="elvish-high-lord-attack-sword-2.png"
			[/frame]
			[frame]
				begin=100
				end=200
				image="elvish-high-lord.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-175
				image="elvish-high-lord.png"
			[/frame]
			[frame]
				begin=-175
				end=-75
				image="elvish-high-lord-attack-sword-1.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=-75
				end=100
				image="elvish-high-lord-attack-sword-2.png"
			[/frame]
			[frame]
				begin=100
				end=200
				image="elvish-high-lord.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=faerie fire
		type=cold
		icon=attacks/faerie-fire.png
		[specials]
			{WEAPON_SPECIAL_MAGICAL}
		[/specials]
		range=ranged
		damage=8
		number=5
		[animation]
			hits=no
			{MISSILE_FRAME_FAERIE_FIRE}

			[frame]
				begin=-450
				end=-375
				image="elvish-high-lord-magic.png"
				sound=magic-faeriefire-miss.ogg

				halo=halo/elven/faerie-fire-halo1.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-375
				end=-300
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo2.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-300
				end=-225
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo3.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-225
				end=-150
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo4.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo5.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-75
				end=0
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo6.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-0
				end=75
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo7.png
				halo_x,halo_y=-19,-14
			[/frame]

		[/animation]
		[animation]
			hits=yes
			{MISSILE_FRAME_FAERIE_FIRE}
			
			[frame]
				begin=-450
				end=-375
				image="elvish-high-lord-magic.png"
				sound=magic-faeriefire.ogg

				halo=halo/elven/faerie-fire-halo1.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-375
				end=-300
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo2.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-300
				end=-225
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo3.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-225
				end=-150
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo4.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo5.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-75
				end=0
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo6.png
				halo_x,halo_y=-19,-14
			[/frame]
			[frame]
				begin=-0
				end=75
				image="elvish-high-lord-magic.png"
				halo=halo/elven/faerie-fire-halo7.png
				halo_x,halo_y=-19,-14
			[/frame]


		[/animation]
	[/attack]
	{DEFENSE_ANIM_FILTERED "elvish-high-lord-defend.png" "elvish-high-lord-defend2.png" {SOUND_LIST:ELF_HIT} range=melee}
	{DEFENSE_ANIM_FILTERED "elvish-high-lord-defend.png" "elvish-high-lord-defend2.png" {SOUND_LIST:ELF_HIT} range=ranged}
[/unit]
