#include "lxqj_gg.pst"
npcdjpd(){
int lxq =Rand(22);
if (lxq==0){lxq=430;}
if (lxq==1){lxq=431;}
if (lxq==2){lxq=432;}
if (lxq==3){lxq=433;}
if (lxq==4){lxq=425;}
if (lxq==5){lxq=428;}
if (lxq==6){lxq=429;}
if (lxq==7){lxq=382;}
if (lxq==8){lxq=438;}
if (lxq==9){lxq=437;}
if (lxq==10){lxq=436;}
if (lxq==11){lxq=456;}
if (lxq==12){lxq=457;}
if (lxq==13){lxq=384;}
if (lxq==14){lxq=446;}
if (lxq==15){lxq=144;}
if (lxq==16){lxq=488;}
if (lxq==17){lxq=489;}
if (lxq==18){lxq=490;}
if (lxq==19){lxq=391;}
if (lxq==20){lxq=492;}
if (lxq==21){lxq=383;}
return lxq-0;
}
LXQJModel(){

int lxx =Rand(8);
if (lxx==0){lxx=3;}
if (lxx==1){lxx=10;}
if (lxx==2){lxx=18;}
if (lxx==3){lxx=11;}
if (lxx==4){lxx=9;}
if (lxx==5){lxx=2;}
if (lxx==6){lxx=90;}
if (lxx==7){lxx=922;}
return lxx-0;
}
string Name = "ÖĞ»ª";
int Model = LXQJModel();
int Weapon = npcggjwuqi1();
int Weapon2 = npcggjwuqi2();
int Team = 1;
int View = 2500+Rand(2500);
int Think = Rand(300);
int Attack1 = 25;
int Attack2 = 30;
int Attack3 = 45;
int Guard = 0;
int Dodge = 0;
int Jump = Rand(30);
int Look = 1000;
int Burst = 0;
int Aim = 100;
int GetItem = 0;
int Spawn = npcdjpd();
int HP = Rand(3000);

int npc;
int g_selfAddr;
OnInit(int this)
{
	balujunrenwumingcheng(Name,Model);
    	Name = gsNames;
	g_selfAddr = this;
}


OnStart()
{
	npc = GetSelf(g_selfAddr);
	ChangeBehavior(npc, "wait");

}