//  暗杀一等杀手
int Rule = 1;
int RoundTime = 90;
int PlayerSpawn = 117;
int PlayerSpawnDir = 90;
int PlayerWeapon = 50;
int PlayerWeapon2 = 51;
int PlayerHP = 30000;

int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = 0;
int trg4 = 0;
int trg5 = 0;
int trg6 = 0;
int trg7 = 0;
int timer0 = 0;
int timer1 = 0;
int timer2 = 0;
int timer3 = 0;
int timer4 = 0;
int timer5 = 0;
int timer6 = 0;
int timer7 = 0;
int timer8 = 0;
int timer9 = 0;
int timer10 = 0;
int timer11 = 0;
int timer12 = 0;
int timer13 = 0;
int timer14 = 0;
int timer15 = 0;
int timer16 = 0;
int timer17 = 0;
int timer18 = 0;
int gameover = 0;

OnStart()
{
	AddNPC("一线天玉女1");
	AddNPC("一线天玉女2");
	AddNPC("一线天玉女3");
	AddNPC("一线天玉女4");
	AddNPC("一线天玉女5");
	AddNPC("一线天玉女6");
	AddNPC("一线天玉女7");
	AddNPC("一线天玉女8");
}


OnUpdate()
{
	int player = GetAnyChar("player");
	if (player < 0)
	{
		return 0;
	}
	if (gameover == 2)
	{
		return 0;
	}
	int now = GetGameTime();
	
	int c;
	int c1;
	int c2;
	int c3;
	int c4;
	int c5;
	int c6;
	int c7;
	int c8;
	int c9;
	int c10;
	int c11;
	int c12;

if (trg0 == 0)
	{
		c = GetChar("一线天玉女1");
		c1 = GetChar("一线天玉女2");
		c2 = GetChar("一线天玉女3");
		c3 = GetChar("一线天玉女4");
		c4 = GetChar("一线天玉女5");
		c5 = GetChar("一线天玉女6");
		c6 = GetChar("一线天玉女7");
		c7 = GetChar("一线天玉女8");
		if (c>=0 && c1>0 && c2>0 && c3>0 && c4>0 && c5>0 && c6>0 && c7>0)
		{


			Perform(c, "faceto", player);	
                        Perform(c, "use", 19);
                        Perform(c1, "use", 19);
                        Perform(c2, "use", 19);
                        Perform(c3, "use", 19);
                        Perform(c4, "use", 19);
                        Perform(c5, "use", 19);
                        Perform(c6, "use", 19);
                        Perform(c7, "use", 19);

			PlayerPerform("block", 0);
			PlayerPerform("use", 19);
			PlayerPerform("use", 5);
			PlayerPerform("use", 33);
			PlayerPerform("use", 34);
			PlayerPerform("use", 4);
			PlayerPerform("use", 20);
			PlayerPerform("use", 41);
			PlayerPerform("use", 42);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "目的在山顶上..我赶紧冲过去。。");
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "今日能在这里打血战，也算满足了...");
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "他现在应该在疗伤..."); 
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "高官已被我击伤..他不可能在这里。。");
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "这里面的主谋会是谁。"); 
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "风景虽美.但马上就要开始一场血战了..！");
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "看来孙玉伯要出面了快.."); 
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "不知不觉中我已经闯入了这里。。");
			PlayerPerform("pause", 2);
                        PlayerPerform("say", "真不愧是一线天，风景优美...。"); 
			PlayerPerform("block", 1);
						
			trg0 = 1;
                }          
        }     

if (trg0==1)
	{
		c = GetChar("一线天玉女1");
		c1 = GetChar("一线天玉女2");
		c2 = GetChar("一线天玉女3");
		c3 = GetChar("一线天玉女4");
		c4 = GetChar("一线天玉女5");
		c5 = GetChar("一线天玉女6");
		c6 = GetChar("一线天玉女7");
		c7 = GetChar("一线天玉女8");
		if (c>=0 && GetEnemy(c)==player)
		{

         		Perform(c, "say", "小女子失礼了...");
			Perform(c, "pause", 4);
			Perform(c, "faceto", player);
			Perform(c, "say", "我们在这里等候你多时了..我们很想领教领教你的高招..。");
			Perform(c, "pause", 2);
			Perform(c, "faceto", player);


                        ChangeBehavior(c1,"follow",player);
			Perform(c1, "pause", 8);
			Perform(c1, "faceto", c);
                        ChangeBehavior(c2,"follow",player);
			Perform(c2, "pause", 8);
			Perform(c2, "faceto", c);
                        ChangeBehavior(c3,"follow",player);
			Perform(c3, "pause", 8);
			Perform(c3, "faceto", c);
                        ChangeBehavior(c4,"follow",player);
			Perform(c4, "pause", 8);
			Perform(c4, "faceto", c);
                        ChangeBehavior(c5,"follow",player);
			Perform(c5, "pause", 8);
			Perform(c5, "faceto", c);
                        ChangeBehavior(c6,"follow",player);
			Perform(c6, "pause", 8);
			Perform(c6, "faceto", c);
                        ChangeBehavior(c7,"follow",player);
			Perform(c7, "pause", 8);
			Perform(c7, "faceto", c);

			PlayerPerform("block", 0);
			PlayerPerform("say", "....在下也失礼了...");
			PlayerPerform("pause", 5);
			PlayerPerform("say", "..早知道这里的埋伏.不必多说了。出招吧。。");
			PlayerPerform("pause", 3);
			PlayerPerform("say", "好多人...。玉女？靠...什么人都有哇。");
			PlayerPerform("block", 1);

			trg0 = 2;
		}
	}	
	if (trg0 == 2)
	{
		c = GetChar("一线天玉女1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{	
			Perform(c, "say", "在洛阳城就是你伤害我们的主子（玉女心精）今天我就给你点颜色。");
			Perform(c, "faceto", player);		
			Perform(c, "say", "果真有两下子阿，不过怎么可能是我们玉女的对手");
			Perform(c, "faceto", player);
			trg0 = 3;
		}
	}

	if (trg0 == 3)
	{
		c = GetAnyChar("一线天玉女1");
		if (GetHP(c) <= 0)
		{
			Say(c, "你这个小子...﹒...我们后会有期..。");
			trg0 = 4;
		}

	}

      if (trg0 == 4)
	{
		c = GetAnyChar("一线天玉女1");
		c3 = GetAnyChar("一线天玉女2");
		c4 = GetAnyChar("一线天玉女3");
		c5 = GetAnyChar("一线天玉女4");
		c6 = GetAnyChar("一线天玉女5");
		c7 = GetAnyChar("一线天玉女6");
		c8 = GetAnyChar("一线天玉女7");
		c9 = GetAnyChar("一线天玉女8");
		
		if (GetHP(c)<=0 && GetHP(c4)<=0 && GetHP(c3)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 && GetHP(c8)<=0 && GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{


			PlayerPerform("say", "...玉女心静的地步..无法自拔。。。。");

			trg0 = 5;
		        timer0 = now + 2;
		}
	}

      if (trg0 == 5 && now>timer0)
	{


                RemoveNPC(GetAnyChar("一线天玉女1"));
		RemoveNPC(GetAnyChar("一线天玉女2"));
                RemoveNPC(GetAnyChar("一线天玉女3"));
		RemoveNPC(GetAnyChar("一线天玉女4"));
                RemoveNPC(GetAnyChar("一线天玉女5"));
		RemoveNPC(GetAnyChar("一线天玉女6"));
                RemoveNPC(GetAnyChar("一线天玉女7"));
		RemoveNPC(GetAnyChar("一线天玉女8"));
			trg0 = 6;
		        timer1 = now + 2;
		}
      if (trg0 == 6 && now>timer1)
	{

              AddNPC("一线天铜人1");
              AddNPC("一线天铜人2");
              AddNPC("一线天铜人3");
              AddNPC("一线天铜人4");
              AddNPC("一线天铜人5");
              AddNPC("一线天铜人6");
              AddNPC("一线天铜人7");
              AddNPC("一线天铜人8");

		trg0 = 7;

	}

 if (trg1 == 0)
	{
		c = GetChar("一线天铜人1");
		c1 = GetChar("一线天铜人2");
		c2 = GetChar("一线天铜人3");
		c3 = GetChar("一线天铜人4");
		c4 = GetChar("一线天铜人5");
		c5 = GetChar("一线天铜人6");
		c6 = GetChar("一线天铜人7");
		c7 = GetChar("一线天铜人8");		
		if (c>=0 && GetEnemy(c)==player)
		{
                    	Perform(c, "say", "施主。我们又碰面了，在一次领教老衲的铜人阵法。步阵...");
			Perform(c, "faceto", player);


		       ChangeBehavior(c1, "kill", player);
                        Perform(c1, "use", 19);
                        Perform(c1, "use", 5);
		       ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 19);
                        Perform(c2, "use", 5);
		       ChangeBehavior(c3, "kill", player);
                        Perform(c3, "use", 19);
                        Perform(c3, "use", 5);
		       ChangeBehavior(c4, "kill", player);
                        Perform(c4, "use", 19);
                        Perform(c4, "use", 5);
		       ChangeBehavior(c5, "kill", player);
                        Perform(c5, "use", 19);
                        Perform(c5, "use", 5);
		       ChangeBehavior(c6, "kill", player);
                        Perform(c6, "use", 19);
                        Perform(c6, "use", 5);
		       ChangeBehavior(c7, "kill", player);
                        Perform(c7, "use", 19);
                        Perform(c7, "use", 5);			
						

			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 20);				
			PlayerPerform("block", 0);
			PlayerPerform("say", "铜人阵法...在下失礼了。。。。");
			PlayerPerform("say", "高僧领教...");
			PlayerPerform("pause", 1);

			trg1 = 1;
		}
	}

if (trg1 == 1)
	{
		c = GetChar("一线天铜人1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "guard", 4);
			Perform(c, "say", "施主..。邡下屠刀，立地成佛..");
			Perform(c, "faceto", player);

			PlayerPerform("say", "靠。。");
			PlayerPerform("pause", 4);
			trg1 = 2;
		}
	}

 if (trg1 == 2)
	{
		c = GetAnyChar("一线天铜人1");
		if (GetHP(c) <= 0)
		{
			Say(c, "老衲永远未必是施主的对手..........");
			trg1 = 3;
		}
	}

 if (trg1 == 3)
	{	
		c = GetChar("一线天铜人1");
		c1 = GetChar("一线天铜人2");
		c2 = GetChar("一线天铜人3");
		c3 = GetChar("一线天铜人4");
		c4 = GetChar("一线天铜人5");
		c5 = GetChar("一线天铜人6");
		c6 = GetChar("一线天铜人7");
		c7 = GetChar("一线天铜人8");

		if (GetHP(c)<=0 && GetHP(c1)<=0 && GetHP(c2)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 && GetHP(c7)<=0 && player>=0 && GetHP(player)>0)
		{
			PlayerPerform("say", "多多得罪了....。");
			PlayerPerform("pause", 2);
			PlayerPerform("say", "少林僧人.... . .");


			timer0 = now + 4;
			trg1 = 4;
		}
	}

        if (trg1 == 4 && now>timer0)
	{               
		RemoveNPC(GetAnyChar("一线天铜人1"));
                RemoveNPC(GetAnyChar("一线天铜人2"));
		RemoveNPC(GetAnyChar("一线天铜人3"));
                RemoveNPC(GetAnyChar("一线天铜人4"));
		RemoveNPC(GetAnyChar("一线天铜人5"));
                RemoveNPC(GetAnyChar("一线天铜人6"));
		RemoveNPC(GetAnyChar("一线天铜人7"));
		RemoveNPC(GetAnyChar("一线天铜人8"));



			timer1 = now + 4;
			trg1 = 5;
		}

        if (trg1 == 5 && now>timer1)
	{               
		
              AddNPC("一线天火枪手1");
              AddNPC("一线天火枪手2");
              AddNPC("一线天火枪手3");
              AddNPC("一线天火枪手4");
              AddNPC("一线天火枪手5");
              AddNPC("一线天火枪手6");
              AddNPC("一线天火枪手7");
              AddNPC("一线天火枪手8");
			trg1 = 6;
		}


        if (trg1 == 6)
	{
		c = GetChar("一线天火枪手1");		
		if (c>=0 && GetEnemy(c)==player)
		{
                    	Perform(c, "say", ".这会射不死你还..射。。。");
			Perform(c, "faceto", player);

			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 20);				
			PlayerPerform("block", 0);
			PlayerPerform("say", "他身边根本就没有什么高手，只是一些不起眼的小卒子。。。");
			PlayerPerform("say", "原来孙玉伯身边都是这几队人。.");
			PlayerPerform("pause", 1);

			trg1 = 7;
		}
	}

	 if (trg1 == 7)
	{	
		c = GetChar("一线天火枪手1");
		c1 = GetChar("一线天火枪手2");
		c2 = GetChar("一线天火枪手3");
		c3 = GetChar("一线天火枪手4");
		c4 = GetChar("一线天火枪手5");
		c5 = GetChar("一线天火枪手6");
		c6 = GetChar("一线天火枪手7");
		c7 = GetChar("一线天火枪手8");

		if (GetHP(c)<=0 && GetHP(c1)<=0 && GetHP(c2)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 && GetHP(c7)<=0 && player>=0 && GetHP(player)>0)
		{
			PlayerPerform("say", "靠..还有多少人阿，真的是杀不完的人吗？");
			PlayerPerform("pause", 2);


			timer0 = now + 6;
			trg1 = 8;
		}
	}

  if (trg1 == 8 && now>timer0)
	{               
		RemoveNPC(GetAnyChar("一线天火枪手1"));
                RemoveNPC(GetAnyChar("一线天火枪手2"));
		RemoveNPC(GetAnyChar("一线天火枪手3"));
                RemoveNPC(GetAnyChar("一线天火枪手4"));
		RemoveNPC(GetAnyChar("一线天火枪手5"));
                RemoveNPC(GetAnyChar("一线天火枪手6"));
		RemoveNPC(GetAnyChar("一线天火枪手7"));
		RemoveNPC(GetAnyChar("一线天火枪手8"));



			timer1 = now + 4;
			trg1 = 9;
		}

        if (trg1 == 9 && now>timer1)
	{               
		
              AddNPC("一线天八卦1");
              AddNPC("一线天八卦2");
              AddNPC("一线天八卦3");
              AddNPC("一线天八卦4");
              AddNPC("一线天八卦5");
              AddNPC("一线天八卦6");
              AddNPC("一线天八卦7");
              AddNPC("一线天八卦8");
			trg1 = 10;
		}
	if (trg1 == 10)
	{
		c = GetChar("一线天八卦1");
		c2 = GetChar("一线天八卦7");
		c3 = GetChar("一线天八卦8");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
			ChangeBehavior(c2, "follow", c);
			Perform(c2, "say", "老大。老大..这家伙闯来了。");
			Perform(c2, "faceto", player);
			trg1 = 11;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
			ChangeBehavior(c3, "follow", c);
			Perform(c3, "say", "。老大。发现了..");
			Perform(c3, "faceto", player);
			trg1 = 11;
		}		
	}

        if (trg2 == 0)
	{
		c = GetChar("一线天八卦1");		
		if (c>=0 && GetEnemy(c)==player)
		{
                    	Perform(c, "say", ".让你扭扭秧歌..哈哈。。。");
			Perform(c, "faceto", player);

			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 20);				
			PlayerPerform("block", 0);
			PlayerPerform("say", "哦？。八卦阵，来吧，我不怕。。.");
			PlayerPerform("pause", 1);

			trg2 = 1;
		}
	}
	 if (trg2 == 1)
	{	
		c = GetChar("一线天八卦1");
		c1 = GetChar("一线天八卦2");
		c2 = GetChar("一线天八卦3");
		c3 = GetChar("一线天八卦4");
		c4 = GetChar("一线天八卦5");
		c5 = GetChar("一线天八卦6");
		c6 = GetChar("一线天八卦7");
		c7 = GetChar("一线天八卦8");

		if (GetHP(c)<=0 && GetHP(c1)<=0 && GetHP(c2)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 && GetHP(c7)<=0 && player>=0 && GetHP(player)>0)
		{
			PlayerPerform("say", "难道都是这些，没有一个可以出来当头的吗？");
			PlayerPerform("pause", 2);


			timer0 = now + 6;
			trg2 = 2;
		}
	}

  if (trg2 == 2 && now>timer0)
	{               
		RemoveNPC(GetAnyChar("一线天八卦1"));
                RemoveNPC(GetAnyChar("一线天八卦2"));
		RemoveNPC(GetAnyChar("一线天八卦3"));
                RemoveNPC(GetAnyChar("一线天八卦4"));
		RemoveNPC(GetAnyChar("一线天八卦5"));
                RemoveNPC(GetAnyChar("一线天八卦6"));
		RemoveNPC(GetAnyChar("一线天八卦7"));
		RemoveNPC(GetAnyChar("一线天八卦8"));



			timer1 = now + 4;
			trg2 = 3;
		}


        if (trg2 == 3 && now>timer1)
	{               
		
              AddNPC("一线天1");
		trg2 = 4;
		}

        if (trg2 == 4)
	{
		c = GetChar("律香川第一杀手");		
		if (c>=0 && GetEnemy(c)==player)
		{
                        ChangeBehavior(c,"follow",player);
			Perform(c, "aggress");
			Perform(c, "say", "伊人君...我不跟你废话，我的任务就是干掉你..");
			Perform(c, "pause", 4);
			Perform(c, "say", "你这么高的智慧，只是你小命不长了。。");
			Perform(c, "pause", 3);
			Perform(c, "say", "呵呵..。。想不到吧.");
			Perform(c, "faceto", player);


			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 20);				
			PlayerPerform("say", "....我等着？来吧。。");		
			PlayerPerform("pause", 5);
			PlayerPerform("say", "哼..你们这些人只会吹大话。有什么意思？");		
			PlayerPerform("pause", 3);
			PlayerPerform("say", "什么想不到，我早就猜到你们主子不在这里。");		
			PlayerPerform("pause", 1);
			PlayerPerform("block", 1);

			trg2 = 5;
		}
	}

if (trg2 == 5)
	{
		c = GetChar("律香川第一杀手");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "guard", 4);
			Perform(c, "say", "你不会活太久了，你杀的人太多了。。。");
			Perform(c, "faceto", player);

			PlayerPerform("say", "我杀的都是人渣....");
			PlayerPerform("pause", 4);
			trg2 = 6;
		}
	}

 if (trg2 == 6)
	{
		c = GetAnyChar("律香川第一杀手");
		if (GetHP(c) <= 0)
		{
			Say(c, "你给我等着，总有一天我会.干掉你........你要记住，我们老大是会救人的。。呜.....");
			trg2 = 7;
			timer1 = now + 4;
		}
	}

        if (trg2 == 7 && now>timer1)
	{               
		RemoveNPC(GetAnyChar("律香川第一杀手"));

			timer2 = now + 4;
			trg2 = 8;
		}

        if (trg2 == 8 && now>timer2)
	{               
		
              AddNPC("一线天杀手1");
              AddNPC("一线天杀手2");
              AddNPC("一线天杀手3");
              AddNPC("一线天杀手4");
              AddNPC("一线天杀手5");
              AddNPC("一线天杀手6");
              AddNPC("一线天杀手7");
              AddNPC("一线天杀手8");
			trg2 = 9;
		}
        if (trg3 == 0)
	{
		c = GetChar("一线天杀手1");
		c1 = GetChar("一线天杀手2");
		c2 = GetChar("一线天杀手3");
		c3 = GetChar("一线天杀手4");
		c4 = GetChar("一线天杀手5");
		c5 = GetChar("一线天杀手6");
		c6 = GetChar("一线天杀手7");
		c7 = GetChar("一线天杀手8");
		if (c >= 0)
		{
			Perform(c, "faceto", player);	
                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
                        Perform(c1, "use", 5);
                        Perform(c1, "use", 19);
                        Perform(c2, "use", 5);
                        Perform(c2, "use", 19);
                        Perform(c3, "use", 5);
                        Perform(c3, "use", 19);
                        Perform(c4, "use", 5);
                        Perform(c4, "use", 19);
                        Perform(c5, "use", 5);
                        Perform(c5, "use", 19);
                        Perform(c6, "use", 5);
                        Perform(c6, "use", 19);
			PlayerPerform("use", 19);
			PlayerPerform("use", 33);
			PlayerPerform("use", 34);
			PlayerPerform("use", 5);
			trg3 = 1;
		}
          }
	if (trg3 == 1)
	{
		c = GetChar("一线天杀手1");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player && Distance(0, 1)<200)
		{
			Perform(c, "guard", 3);
			Perform(c, "say", "(律香川第一杀手)！属下为您报仇...");
			Perform(c, "faceto", player);
			Perform(c, "say", "我们不会客气的..");
			Perform(c, "pause", 3);
			Perform(c, "say", "难得的高手，不知道能不能打败我们。！");
			Perform(c, "aggress");
			Perform(c, "say", "连续伤害一线天这么多人。");
			Perform(c, "pause", 3);
			Perform(c, "say", "呵呵呵呵！等你许久了，总算让我见识到你了！");
			Perform(c, "faceto", player);

												
			c2 = GetChar("一线天杀手2");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}
			c2 = GetChar("一线天杀手3");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}		
								
			c2 = GetChar("一线天杀手4");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}			
			c2 = GetChar("一线天杀手5");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}			
			c2 = GetChar("一线天杀手6");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}	
			c2 = GetChar("一线天杀手7");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}			
			c2 = GetChar("一线天杀手8");
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "follow", c);
				Perform(c2, "guard", 10);
				Perform(c2, "faceto", player);
			}		
								
			PlayerPerform("block", 0);
			PlayerPerform("say", "（报仇..好一个报仇，料想你怎么死的都不知道。）");
			PlayerPerform("pause", 15);
			PlayerPerform("block", 1);

			
			trg3 = 2;
		}
	}

	if (trg3 == 2)
	{
		c = GetChar("一线天杀手1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{				
						
			Perform(c, "say", "﹒﹒﹒你等着吧﹒﹒﹒﹒﹒");
			Perform(c, "faceto", player);

			
			trg3 = 3;
			gameover = 1;	
			timer0 = now + 3;
		}
	}
 
	if (gameover!=-1 && GetHP(player)<=0)
	{
		gameover = -1;
		timer1 = now + 2; 
	}	
	if ((gameover==1 || gameover==-1) && now>timer1)
	{
		GameOver(gameover);
		gameover = 2;
	}
}


