string Name	= "ÖÕ¼«BOSS+ÖÕ¼«NPC";
int Model =	902;
int Weapon = 48;
int Weapon2 = 17;
int Team = 2;
int View = 2500+Rand(2500);
int Think = 160000;
int Attack1 = 15;
int Attack2 = 25;
int Attack3 = 65;
int Guard =Rand(10);
int Dodge =0;
int Jump = Rand(20);
int Look = Rand(100);
int Burst = 100+Rand(100);
int Aim =100;
int GetItem =100;
int Spawn =Rand(100);
int HP =32000;
int gg;		
int g_selfAddr;
int g_self;
int HPlast=0;
int Stat=0;
int realHP=0;
int timer=0;
OnInit(int this)
{g_selfAddr=this;}
OnStart(){g_self=GetSelf(g_selfAddr);
ChangeBehavior(g_self,"run");}
OnUpdate(){
if (gg+3<GetGameTime()) {
int c = GetSelf(g_selfAddr);
gg=GetGameTime();
Perform(c,"use",8);}
if(timer%100==0){Perform(g_self,"use",19);Perform(g_self,"use",32);Perform(g_self,"use",5);
Perform(g_self,"use",34);Perform(g_self,"use",40);Perform(g_self,"use",30);timer=0;}
timer++;
if(Stat==0){Stat++;return 0;}
if(Stat==1){Stat++;realHP=GetHP(g_self);return 0;}
int HPnow=GetHP(g_self);
if(HPnow==realHP&&HPlast<realHP){
HPlast=realHP;
}
if(HPnow<HPlast){
StopPerform(g_self);
int AtkP=HPlast-HPnow;
Say(g_self,"[HP:] ",HPnow/10,".",HPnow%10,"   [¹¥»÷Ç¿¶È:] ",AtkP/10,".",AtkP%10);
HPlast=HPnow;
}
}