string Name="【无双上将】"; 
int Model=Rand(20); 
int Weapon= Rand(5)+4;
int Weapon2= 16; 
int Team=2; 
int View=10000; 
int Think=32767; 
int Attack1=35; 
int Attack2=30; 
int Attack3=35; 
int Guard=0; 
int Dodge=0; 
int Jump=25; 
int Look=50; 
int Burst=30; 
int Aim=100; 
int GetItem=0; 
int Spawn=32; 
int HP=4000; 
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(Stat==0){Stat++;return 0;} 
if(Stat==1){Stat++;realHP=GetHP(g_self);HPlast=realHP;Say(g_self,"我乃【无双上将】，拥有不下吕布之勇。");Say(2,"佩服！来大战300回合。"); 
Say(g_self,"那准备好，我出招了");Say(2,"领教了！");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",3);timer=0;} 
timer++; 
int HPnow=GetHP(g_self); 
if(HPnow==realHP&&HPlast<realHP){ 
HPlast=realHP; 
Say(g_self,"佩服");Say(2,"你有与我一战的资格！"); Say(g_self,"请过招！");Say(2,"领教了！"); 
} 
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; 
} 
}  