#textdomain wesnoth-httt
[unit]
	id=Elvish Lord
	name= _ "Elvish Lord"
	race=elf
	image="elvish-lord.png"
	profile=portraits/kalenz.png
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=51
	movement_type=woodland
	movement=6
	experience=120
	level=2
	alignment=neutral
	advanceto=Elvish High Lord
	cost=36
	usage=fighter
	unit_description= _ "The nobility of the elves are possessed of merit to match their standing in society. Elvish Lords are the wisest and strongest of their people, and are fearsome in their command of magic."
	die_sound={SOUND_LIST:ELF_HIT}
	{DEFENSE_ANIM_RANGE "elvish-lord-defend.png" "elvish-lord.png" {SOUND_LIST:ELF_HIT} melee}
	{DEFENSE_ANIM_RANGE "elvish-lord-magic-defend.png" "elvish-lord-magic.png" {SOUND_LIST:ELF_HIT} ranged}
	[attack]
		name=sword
		description= _"sword"
		icon=attacks/sword-elven.png
		type=blade
		range=melee
		damage=8
		number=4
		[animation]
			[frame]
				begin=-200
				end=-100
				image="elvish-lord.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-100
					end=125
					image="elvish-lord-melee.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-100
					end=125
					image="elvish-lord-melee.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/else]
			[frame]
				begin=125
				end=200
				image="elvish-lord.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=faerie fire
		description= _"faerie fire"
		type=cold
		damage=8
		number=3
		range=ranged
		[specials]
			{WEAPON_SPECIAL_MAGICAL}
		[/specials]
		icon=attacks/faerie-fire.png
		[animation]
			hits=no
			{MISSILE_FRAME_FAERIE_FIRE}

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

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

		[/animation]
		[animation]
			hits=yes
			{MISSILE_FRAME_FAERIE_FIRE}

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

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