[unit]
	id=Cuttle Fish
	name= _ "Cuttle Fish"
	race=monster
	image="units/monsters/cuttlefish.png"
	hitpoints=67
	movement_type=deepsea
	movement=8
	experience=100
	level=2
	alignment=neutral
	advanceto=null
	{AMLA_TOUGH 3}
	cost=40
	usage=fighter
	unit_description= _ "Cuttle Fish are gigantic creatures of the seas. They can grab their opponents with strong tentacles, or spit a poisonous black ink from a distance. The best way to survive an encounter with these monsters is to remain ashore.

Special Notes:"+{SPECIAL_NOTES_POISON}+{SPECIAL_NOTES_SWARM}
	die_sound=water-blast.wav
	{DEFENSE_ANIM "units/monsters/cuttlefish-defend.png" "units/monsters/cuttlefish.png" squishy-hit.wav }
	[death]
		[frame]
			begin=0
			end=200
			image="units/monsters/cuttlefish-die-1.png"
		[/frame]
		[frame]
			begin=200
			end=400
			image="units/monsters/cuttlefish-die-2.png"
		[/frame]
	[/death]
	[attack]
		name=tentacle
		type=impact
		range=melee
		[specials]
			{WEAPON_SPECIAL_SWARM}
		[/specials]
		damage=3
		number=10
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack.png"
				sound=squishy-miss.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack-2.png"
				sound=squishy-miss.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack-3.png"
				sound=squishy-miss.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack-4.png"
				sound=squishy-miss.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack.png"
				sound=squishy-strike.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack-2.png"
				sound=squishy-strike.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack-3.png"
				sound=squishy-strike.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-150
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=50
				image="units/monsters/cuttlefish-attack-4.png"
				sound=squishy-strike.wav
			[/frame]
			[frame]
				begin=50
				end=100
				image="units/monsters/cuttlefish.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=ink
		type=pierce
		range=ranged
		damage=6
		number=2
		[specials]
			{WEAPON_SPECIAL_POISON}
		[/specials]
		[animation]
			[missile_frame]
				begin=-200
				end=0
				image="projectiles/ink.png"
				image_diagonal="projectiles/ink.png"
			[/missile_frame]
			[frame]
				begin=-300
				end=-180
				image="units/monsters/cuttlefish-defend.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-180
					end=-100
					image="units/monsters/cuttlefish-attack-ink.png"
					sound=squishy-strike.wav
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-180
					end=-100
					image="units/monsters/cuttlefish-attack-ink.png"
					sound=squishy-miss.wav
				[/frame]
			[/else]
			{FRAME_ON_POISON (
				[frame]
					begin=-100
					end=0
					image="units/monsters/cuttlefish.png"
					sound=poison.ogg
				[/frame]
			)}
		[/animation]
	[/attack]
[/unit]
