string Name	= "高寄萍";
int Model =	17;
int Weapon = 40;
int Weapon2 = 31;
int Team = 0;
int View = 2000;
int Think = 100;
int	Attack1	= 40;
int Attack2 = 20;
int Attack3 = 20;
int	Guard =	25;
int	Dodge =	8;
int Jump = 35;
int Look = 15;
int Burst = 60;
int Aim = 80;
int GetItem = 0;
int Spawn = 43;
int HP = 2500;
	
int g_selfAddr;
int g_self;
void OnInit(int this)
{
	g_selfAddr = this;
}

void OnStart()
{
	int c = GetSelf(g_selfAddr);
	int player = GetChar("player");
	ChangeBehavior(c, "kill",player);
}

void  OnUpdate()
{
	int c = GetSelf(g_selfAddr);
	int player = GetChar("player");
SetTarget(0, "char", player);
SetTarget(1, "char", g_selfAddr);
			if (Distance(0, 1) > 300)
			{
Attack1	= 65;
Attack2 = 15;
Attack3 = 15;
Guard =	45;
Dodge =	8;
Jump = 90;
Look = 15;
Burst = 80;}
if (Distance(0, 1) < 300)
			{
int	Attack1	= 40;
int Attack2 = 20;
int Attack3 = 20;
int	Guard =	35;
int	Dodge =	8;
int Jump = 15;
int Look = 15;
int Burst = 50;}	
			
}