string Name="²ËÄñ³öÁÖ¡¤ÔÂÒþÄ§ÏÖ  ";
int Model=9;
int Weapon=0;
int Weapon2=0;
int Team=1;
int View=0;
int Think=0;
int	Attack1=0;
int Attack2=0;
int Attack3=0;
int	Guard=0;
int	Dodge=0;
int Jump=0;
int Look=0;
int Burst=0;
int Aim=0;
int GetItem=0;
int Spawn=0;
int HP=30000;
int g_selfAddr;
int g_self;
int HPlast=0;
int Stat=0;
int realHP=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);HPlast=realHP;return 0;}
int HPnow=GetHP(g_self);
if(HPnow==realHP&&HPlast<realHP){
HPlast=realHP;
Say(g_self,"");
Say(g_self,"");Say(g_self,"");Say(g_self,"");
}
if(HPnow<HPlast){
int AtkP=HPlast-HPnow;
Say(g_self,"HP: ",HPnow/10,".",HPnow%10,"   ÉËÑª: ",AtkP/10,".",AtkP%10);
HPlast=HPnow;
}
}
