name		RatMissile
type		none
lifespan  	4
nolife		1
subject_to_hole 1
no_adjust_base  0
subject_to_gravity 0
hostile		player
candamage	player
animationscript	data/chars/cobras/jetsc.c


anim	spawn
	delay	8
	offset	35 8
	frame	data/chars/cobras/ratmisl.png
	frame	data/chars/cobras/ratmisl2.png
	frame	data/chars/cobras/ratmisl.png
	@cmd	dasher 0 0 0 0
	frame	data/chars/cobras/ratmisl2.png
	frame	data/chars/cobras/ratmisl.png
	frame	data/chars/cobras/ratmisl2.png

anim	idle
	loop	1 3 5
	delay	1
	offset	35 8
	followcond 1
	followanim 1
	attack	14 4 42 9 25 0 0 1 20
	frame	data/chars/cobras/ratmisl.png
	delay	8
	@cmd	attack1 0 600 -150 150 "ANI_FOLLOW2"
	frame	data/chars/cobras/ratmisl.png
	@cmd	target 1.5 3 0 -30 0 0
	@cmd	dash 0 0
	frame	data/chars/cobras/ratmisl2.png
	frame	data/chars/cobras/ratmisl.png
	frame	data/chars/cobras/ratmisl2.png
	frame	data/chars/cobras/ratmisl.png

anim	follow2
	loop	1 2 4
	delay	8
	offset	35 8
	followcond 1
	followanim 1
	attack	14 4 42 9 25 0 0 1 20
	frame	data/chars/cobras/ratmisl.png
	@cmd	target 2.5 5 0 -30 0 0
	@cmd	dash 0 0
	frame	data/chars/cobras/ratmisl2.png
	frame	data/chars/cobras/ratmisl.png
	frame	data/chars/cobras/ratmisl2.png
	frame	data/chars/cobras/ratmisl.png

anim	follow1
	delay	5
	offset	35 8
	frame	data/chars/misc/empty.gif
	@cmd	spawn01 "Asap" -15 0 1
	@cmd	spawn01 "Asap" 15 0 1
	frame	data/chars/misc/empty.gif
	@cmd	suicide
	frame	data/chars/misc/empty.gif
