string Name	= "太刀女";
int Model =	1;
int Weapon = 47;
int Weapon2 = 48;
int Team = 1;
int View = 2000;
int Think = 100;
int	Attack1	= 0;
int Attack2 = 0;
int Attack3 = 50;
int	Guard =	10;
int	Dodge =	1;
int Jump = 0;
int Look = 15;
int Burst = 30;
int Aim = 80;
int GetItem = 0;
int Spawn = 76;
int HP = 4800;
	
int hp;
int hp1;
int ap;
int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = -1;
int trg4 = 0;
int timer = 0;
int timer1 = 0;
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 c1 = GetAnyChar("太刀女");
if (trg1==0)
	{
		if (GetWeaponType(2) == 47)
		{
    ChangeBehavior(2, "idle");
    // 单A，停顿0.5秒，前前A，停顿1秒，前前A
    // AsNpcAttack(2, "n.ff..ff"); // 旧版
    AsCharAttack(2, "bb"); // 新版
	trg1 = 1;
        }
	}
}
