[unit]
#textdomain wesnoth-utbs
	id=EWraith
	name= _ "Ethereal Wraith"
	race=undead
	image="units/undead/wraith.png"
	{DEFENSE_ANIM "units/undead/wraith-defend.png" "units/undead/wraith.png" wail.wav }
	hitpoints=25
	movement_type=undeadspirit
	[movement_costs]
		cavewall=1
	[/movement_costs]
	[defense]
		cavewall=50
	[/defense]
	movement=7
	experience=100
	level=2
	alignment=chaotic
	advanceto=ESpectre
	cost=38
	usage=scout
	unit_description= _ "These tortured forms of what were once warriors are among the most terrifying things a necromancer can create, for a sword will cleave right through them, as through air itself. What inspires such fear is the thought that these beasts are invincible, a belief that is actually far from the truth.

Because of this, a means was made by which the enchantments that drive these creatures could renew themselves through the very thing which threatened them.

Special Notes: a strike from their blade will drain life from the victim, to renew the wraith. Wraiths have very unusual resistances to damage, and move quite slowly over open water. Unlike normal Wraiths, Ethereal Wraiths can also move through solid stone walls."
	die_sound=wail-long.wav
	[attack]
		name=baneblade
		description= _"baneblade"
		type=blade
		range=melee
		damage=7
		number=4
		[specials]
			{WEAPON_SPECIAL_DRAIN}
		[/specials]
		[animation]
			[if]
				hits=yes
				[frame]
					begin=-100
					end=100
					image="units/undead/wraith-attack.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-100
					end=100
					image="units/undead/wraith-attack.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
		[/animation]
	[/attack]
	[attack]
		name=wail
		description= _"wail"
		type=cold
		range=ranged
		damage=4
		number=3
		[animation]
			[missile_frame]
				begin=-200
				end=0
				image="projectiles/darkmissile-n.png"
				image_diagonal="projectiles/darkmissile-ne.png"
			[/missile_frame]
			[frame]
				begin=-250
				end=50
				image="units/undead/wraith-attack1.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
