string Name	= "冷燕";
int Model =	201;
int Weapon = 5;
int Weapon2 = 14;
int Team = 0;
int View = 2000;
int Think = 150;
int	Attack1	= 40;
int Attack2 = 20;
int Attack3 = 20;
int	Guard =	25;
int	Dodge =	8;
int Jump = 15;
int Look = 10;
int Burst = 50;
int Aim = 80;
int GetItem = 0;
int Spawn = 45;
int HP = 3500;
	
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) > 350)
			{
Attack1	= 15;
Attack2 = 15;
Attack3 = 15;
Guard =	35;
Dodge =	8;
Jump = 80;
Look = 10;
Burst = 80;}
if (Distance(0, 1) < 350)
			{
int	Attack1	= 40;
int Attack2 = 20;
int Attack3 = 20;
int	Guard =	25;
int	Dodge =	8;
int Jump = 15;
int Look = 10;
int Burst = 50;}	
			
}
