string Name	= "½£Æø";
int Model =	110;
int Weapon = 15;
int Weapon2 = 15;
int Team = 2;
int View = 500;
int Think = 800;
int Attack1 = 30;
int Attack2 = 20;
int Attack3 = 30;
int	Guard =	Rand(20);
int	Dodge =	0;
int Jump = Rand(30);
int Look = Rand(1000);
int Burst = 100+Rand(100);
int Aim = 100+Rand(100);
int GetItem = Rand(100);
int Spawn =Rand(100);
int HP = 10000+Rand(10000);	
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, "follow", "player");}
OnUpdate(){
if(Stat==0){Stat++;return 0;}
if(Stat==1){Stat++;realHP=GetHP(g_self);return 0;}
if(timer%60==0){Perform(g_self,"use",19);Perform(g_self,"use",8);Perform(g_self,"use",5);
Perform(g_self,"use",34);timer=0;}
timer++;
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;
}
}
