string Name = "¸«Ö®ÇýÖðÕß¡¤¼º";  
int Model = 46;              
int Weapon = 45;            
int Weapon2 = 45;           
int Team = 2;              
int View = 5000;            
int Think = 600;            
int Attack1 = 15;          
int Attack2 = 35;         
int Attack3 = 45;            
int Guard = 25;           
int Dodge = 0;               
int Jump = 0;               
int Look = 35;           
int Burst = 23;             
int Aim = 100;                
int GetItem = 0;            
int Spawn = 319;              
int HP = 10000;               

int lxjs;  
int lxjs1;       
int lxjszx0; 
int lxjszx1;  
int lxjszx2; 
int g_selfAddr; 

OnInit(int this)
{
g_selfAddr = this;
}
OnStart()
{
lxjs = GetSelf(g_selfAddr);      
ChangeBehavior(lxjs, "idle");    
}
OnUpdate()
{
lxjs1 = GetChar("Ö¼ÑÅµîÏÂ");
int zhi = GetGameTime();
int player = GetAnyChar("player");  

if (zhi > lxjszx0)
{
if (lxjs>0)
{
Perform(lxjs, "use", 16); 
Perform(lxjs, "use", 16); 
Perform(lxjs, "use", 16); 
Perform(lxjs, "use", 16); 
lxjszx0 = zhi + 100; 
}
}
if (lxjszx1 == 0)
{
SetTarget(0, "char", lxjs);
SetTarget(1, "char", lxjs1);
SetTarget(2, "char", player);
if (lxjs>=0 && Distance(0, 1)<250 || Distance(0, 2)<250)
{
ChangeBehavior(lxjs, "follow", "enemyvip");

lxjszx1 = 1;
}
}
if (lxjszx1 == 1)
{
if (lxjs>=0)
{
Perform(lxjs, "say", "£¨ KAI SHI QING LI £©");
Perform(lxjs, "pause", 1);
lxjszx1 = 2;
}
}
if (lxjszx2 == 0)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 1;
}
}
if (lxjszx2 == 1)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 2;
}
}
if (lxjszx2 == 2)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 3;
}
}
if (lxjszx2 == 3)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 4;
}
}
if (lxjszx2 == 4)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 5;
}
}
if (lxjszx2 == 5)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 6;
}
}
if (lxjszx2 == 6)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 7;
}
}
if (lxjszx2 == 7)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 8;
}
}
if (lxjszx2 == 8)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 9;
}
}
if (lxjszx2 == 9)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 10;
}
}
if (lxjszx2 == 10)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 11;
}
}
if (lxjszx2 == 11)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 12;
}
}
if (lxjszx2 == 12)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 13;
}
}
if (lxjszx2 == 13)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 14;
}
}
if (lxjszx2 == 14)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 15;
}
}
if (lxjszx2 == 15)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 16;
}
}
if (lxjszx2 == 16)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 17;
}
}
if (lxjszx2 == 17)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 18;
}
}
if (lxjszx2 == 18)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 19;
}
}
if (lxjszx2 == 19)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 20;
}
}
if (lxjszx2 == 20)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 21;
}
}
if (lxjszx2 == 21)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 22;
}
}
if (lxjszx2 == 22)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 23;
}
}
if (lxjszx2 == 23)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 24;
}
}
if (lxjszx2 == 24)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 25;
}
}
if (lxjszx2 == 25)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 26;
}
}
if (lxjszx2 == 26)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 27;
}
}
if (lxjszx2 == 27)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 28;
}
}
if (lxjszx2 == 28)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 29;
}
}
if (lxjszx2 == 29)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 30;
}
}
if (lxjszx2 == 30)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 31;
}
}
if (lxjszx2 == 31)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 32;
}
}
if (lxjszx2 == 32)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 33;
}
}
if (lxjszx2 == 33)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 34;
}
}
if (lxjszx2 == 34)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 35;
}
}
if (lxjszx2 == 35)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 36;
}
}
if (lxjszx2 == 36)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 37;
}
}
if (lxjszx2 == 37)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 38;
}
}
if (lxjszx2 == 38)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 39;
}
}
if (lxjszx2 == 39)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 40;
}
}
if (lxjszx2 == 40)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 41;
}
}
if (lxjszx2 == 41)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 42;
}
}
if (lxjszx2 == 42)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 43;
}
}
if (lxjszx2 == 43)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 44;
}
}
if (lxjszx2 == 44)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 45;
}
}
if (lxjszx2 == 45)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 46;
}
}
if (lxjszx2 == 46)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 47;
}
}
if (lxjszx2 == 47)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 48;
}
}
if (lxjszx2 == 48)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 49;
}
}
if (lxjszx2 == 49)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 50;
}
}
if (lxjszx2 == 50)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 51;
}
}
if (lxjszx2 == 51)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 52;
}
}
if (lxjszx2 == 52)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 53;
}
}
if (lxjszx2 == 53)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 54;
}
}
if (lxjszx2 == 54)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 55;
}
}
if (lxjszx2 == 55)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 56;
}
}
if (lxjszx2 == 56)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999);
lxjszx2 = 57;
}
}
if (lxjszx2 == 57)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 58;
}
}
if (lxjszx2 == 58)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 59;
}
}
if (lxjszx2 == 59)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 60;
}
}
if (lxjszx2 == 60)
{
if (lxjs>0 && GetHP(lxjs)<=2500)
{
Perform(lxjs, "guard",999999); 
lxjszx2 = 61;
}
}
if (lxjszx2 == 61)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ SANG SHI GONG JI NENG LI £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 62;
}
}
if (lxjszx2 == 62)
{
if (lxjs>0 && GetHP(lxjs)>4000)
{
ChangeBehavior(lxjs, "follow", "player");
lxjszx2 = 63;
}
}
if (lxjszx2 == 63)
{
if (lxjs>0)
{
Perform(lxjs, "say", "£¨ YES £©");
Perform(lxjs, "pause", 1);
lxjszx2 = 64;
}
}
}