### Shark
id=13
name=Shark
group=animal
icon=gfx\shark.bmp
model=gfx\shark.b3d
scale=7
colxr=50
colyr=20
behaviour=predatorfish
health=80
speed=2.5
turnspeed=1.7
damage=15
ani_move=2,3,0.03
ani_die=4,5,0.01
ani_attack=2,3,0.05
attackrange=80
loot=9,3
loot=94,10
script=start
on:ai_attack {
if (random(8)==1){
if (gotstate("unit",1,17)==0){
if (random(5)<2){
addstate "unit",1,1;
}else{
addstate "unit",1,7;
}
}
}
}
on:kill {
event "iskill_hunt","global";
}
script=end