[unit]
	id=Merman Warrior
	name= _ "Merman Warrior"
	race=merman
	image="units/merfolk/warrior.png"
	profile=portraits/Alex_Jarocha-Ernst/merman-fighter.png
	hitpoints=50
	movement_type=swimmer
	movement=6
	experience=80
	level=2
	alignment=lawful
	advanceto=Merman Triton,Merman Hoplite
	undead_variation=swimmer
	cost=28
	usage=fighter
	unit_description= _ "The Mermen Warriors form the core of the mermen armies. Wielding powerful tridents, they are a bane to any who dare enter their waters."
	die_sound=mermen-die.ogg
	{DEFENSE_ANIM "units/merfolk/warrior-defend.png" "units/merfolk/warrior.png" mermen-hit.wav }
	[attack]
		name=trident
		type=pierce
		range=melee
		damage=8
		number=4
		[animation]
			[frame]
				begin=-200
				end=-150
				image="units/merfolk/warrior.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-150
					end=100
					image="units/merfolk/warrior-attack.png"
					sound=spear.ogg
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-150
					end=100
					image="units/merfolk/warrior-attack.png"
					sound=spear-miss.ogg
				[/frame]
			[/else]
			[frame]
				begin=100
				end=150
				image="units/merfolk/warrior.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
