string Name	= "ËïÓñ²®";
int Model =	18;
int Weapon=17;
int Weapon2=0;
int Team=2;
int View=500;
int Think=32767;
int Attack1=15;
int Attack2=40;
int Attack3=45;
int Guard=3;
int Dodge=100;
int Jump=10;
int Look=50;
int Burst=30;
int Aim=100;
int GetItem=100;
int Spawn=264;
int HP=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,"wait");}
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);
Perform(g_self,"guard",2);
int AtkP=HPlast-HPnow;
Say(g_self,"[HP:] ",HPnow/10,".",HPnow%10,"   [¹¥»÷Ç¿¶È:] ",AtkP/10,".",AtkP%10);
HPlast=HPnow;
}
}