// 金华大血战
int Rule = 1;
int RoundTime = 99;
int PlayerSpawn = 255;
int PlayerSpawnDir = 100;
int PlayerWeapon = 50;
int PlayerWeapon2 = 15;
int PlayerHP = 32000;

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 trg8 = 0;
int trg9 = 0;
int trg10 = 0;
int trg11 = 0;
int trg12 = 0;
int trg13 = 0;
int trg14 = 0;
int trg15 = 0;
int trg16 = 0;
int trg17 = 0;
int trg18 = 0;
int trg19 = 0;
int timer0 = 0;
int timer1 = 0;
int timer2 = 0;
int timer3 = 0;
int timer4 = 0;
int timer5 = 0;
int gameover = 0;
int reborn = -1;
string rebornName;


OnStart()
{


	        AddNPC("金华孙玉伯1");
	        AddNPC("金华律香彬1");
	        AddNPC("金华伊人梦1");


}



OnUpdate()
{
	int player = GetChar("player");
	if (player < 0)
	{
		return 0;
	}
	
	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;
	int c13;
	int c14;
	int c15;
	int c16;
	int now = GetGameTime();

	if (trg0 == 0)
	{
		c = GetChar("孙玉伯");
		c1 = GetChar("律香彬");
		c2 = GetChar("伊人梦");
		if (c >= 0)
		{
			Perform(c, "faceto", player);	
                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
                        Perform(c1, "use", 5);
                        Perform(c1, "use", 19);
			PlayerPerform("use", 19);
			PlayerPerform("use", 5);
			trg0 = 1;
		}
	}

      if (trg0 == 1)
	{	
		c = GetChar("孙玉伯");
		c1 = GetChar("律香彬");
		c2 = GetChar("伊人梦");
		if (c>=0 && GetEnemy(c)==player)

                   {     
                        Perform(c, "say", "哈哈，那就杀吧。。你杀死我的儿子，我今天就杀死你跟你的老婆。");
			Perform(c, "pause", 8);
			Perform(c, "faceto", player);
                        Perform(c, "say", "儿阿，你爹今天就为你报仇。你在天上也可以瞑目了。。。");
			Perform(c, "pause", 3);
			Perform(c, "faceto", player);
			Perform(c, "say", "不管怎么说，他是我的儿子，你杀死了我的儿子，我就要让你偿命。");
			Perform(c, "pause", 3);
			Perform(c, "faceto", player);
			Perform(c, "say", "老夫只是想为我的儿子孙剑报仇，若杀不了你，我想我儿子不会瞑目的。");
			Perform(c, "pause", 3);
			Perform(c, "faceto", player);
			Perform(c, "say", "终于迎来这一刻了。终于可以做个了断了。。");
			Perform(c, "faceto", player);

                   	Perform(c1, "say", "先杀死你的老婆在收拾你，没了老婆我看你怎么过，哈哈。");
			Perform(c1, "pause", 25);
			Perform(c1, "faceto", player);

			ChangeBehavior(c2, "follow", c1);
			Perform(c2, "pause", 3);
                   	Perform(c2, "say", "杀死这个老家伙，孙剑的（弟弟）跟他的（爹）也不能是好东西。");
			Perform(c2, "pause", 15);
			Perform(c2, "faceto", c);

			PlayerPerform("say", "呜。。梦。你说怎么办。....");
			PlayerPerform("pause", 3);
			PlayerPerform("say", "今天既然来到这里，难免会有一场恶战，我也不想多说，只好领教了。");
			PlayerPerform("pause", 3);
			PlayerPerform("say", "孙剑-他作恶多端，我不杀他他会越危害人间。。他的行为已经超出众人的想象。");
			PlayerPerform("pause", 3);
			PlayerPerform("say", "哎哟，不要这么说，既然你放了我的老大跟我的师姐弟们。我敬仰你。");
			PlayerPerform("pause", 2);
			PlayerPerform("block", 1);
			
			trg0 = 2;
		}
	}

      if (trg0 == 2)
	{
		c = GetAnyChar("孙玉伯");
		if (c>=0 && GetHP(c)<20000)
		{

                        Perform(c, "use", 3);
                        Perform(c, "use", 34);
                        Perform(c, "use", 15);
                        Perform(c, "use", 15);
			Perform(c, "say", "老夫一定要杀死你。...");
			Perform(c, "faceto", player);

			trg0 = 3; 
		}	

         }
      if (trg1 == 0)
	{
		c = GetAnyChar("律香彬");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "阿，看来我要失败了。老大，你在天保佑..");
			trg1 = 1;
		}
	}
      if (trg1 == 1)
	{
		c = GetAnyChar("律香彬");
		if (GetHP(c) <= 0)
		{
			Say(c, "经过百次相斗，我终究死在你的手下，这次我真F了。。老大，小子去了。。...");
			trg1 = 2;
		        timer0 = now + 6;
		}
	}

if (trg1==2 && now>timer0)
	{

              AddNPC("金华僵尸1");
              AddNPC("金华僵尸2");
              AddNPC("金华僵尸3");
              AddNPC("金华僵尸4");
              AddNPC("金华僵尸5");
              AddNPC("金华僵尸6");
              RemoveNPC(GetAnyChar("律香彬"));
		trg1 = 3;


	}


    if (trg1==3)
	{

		c = GetAnyChar("孙玉伯");
		c1 = GetAnyChar("僵尸1");
		c2 = GetAnyChar("僵尸2");
		c3 = GetAnyChar("僵尸3");
		c4 = GetAnyChar("僵尸4");
		c5 = GetAnyChar("僵尸5");
		c6 = GetAnyChar("僵尸6");
		if (c>=0 && GetEnemy(c)==player)
		{
		       Perform(c, "say", " 僵尸们杀死他。。..哼哼。。");

		       ChangeBehavior(c1, "follow", player);
		       ChangeBehavior(c2, "follow", player);
		       ChangeBehavior(c3, "follow", player);
		       ChangeBehavior(c4, "follow", player);
		       ChangeBehavior(c5, "follow", player);
		       ChangeBehavior(c6, "follow", player);

		      trg1 = 4;
	}

}

 if (trg1 == 4)
	{
		c = GetAnyChar("孙玉伯");
		c1 = GetAnyChar("伊人梦");
		if (c>=0 && GetEnemy(c)==player)
		{			

			Perform(c, "say", "老夫先走了。..");
			Perform(c, "faceto", player);
			Perform(c, "say", "你。。。。老夫不跟你贫嘴，黄毛丫头。。");
			Perform(c, "pause", 4);
			Perform(c, "faceto", player);
			Perform(c, "say", "老夫年纪大了。打一会就累的不得了，让老夫歇一会在跟你打。");
			Perform(c, "faceto", player);

                        Perform(c1, "use", 15);
                        Perform(c1, "use", 33);
                        Perform(c1, "use", 34);
                        Perform(c1, "use", 5);
                        Perform(c1, "use", 19);
			Perform(c1, "say", "哼。。。气死我了。。");
			Perform(c1, "pause", 4);
			Perform(c1, "say", "为什么阿。要让他走，你现在不杀他，他会杀你的。");
			Perform(c1, "pause", 4);
			Perform(c1, "faceto", player);
			Perform(c1, "say", "你...。死老头子。。");
			Perform(c1, "pause", 4);
			Perform(c1, "say", "你们一家人都是这样，哼。不能公平的来一场，你儿子这样，你也这样。。");
			Perform(c1, "pause", 3);
			Perform(c1, "faceto", c);
                         StopChat();								
			c2 = GetChar("僵尸1");
			if (c2 >= 0)
			{
				Perform(c2, "guard", 20);
			        Perform(c2, "faceto", player);
			}						
			c2 = GetChar("僵尸2");
			if (c2 >= 0)
			{

				Perform(c2, "guard", 20);
			        Perform(c2, "faceto", player);
			}			
								
			c2 = GetChar("僵尸3");
			if (c2 >= 0)
			{

				Perform(c2, "guard", 20);
			        Perform(c2, "faceto", player);
			}			
								
			c2 = GetChar("僵尸4");
			if (c2 >= 0)
			{

				Perform(c2, "guard", 20);
			        Perform(c2, "faceto", player);
			}			
								
			c2 = GetChar("僵尸5");
			if (c2 >= 0)
			{

				Perform(c2, "guard", 20);
			        Perform(c2, "faceto", player);
			}			
								
			c2 = GetChar("僵尸6");
			if (c2 >= 0)
			{
                    		Perform(c2, "guard", 20);
			        Perform(c2, "faceto", player);
			}	


			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 20);
			PlayerPerform("say", "咱不能这样对他，孙玉伯是个有名的人。咱看看他想怎么着。。");
			PlayerPerform("pause", 4);
			PlayerPerform("say", "好.。晚辈不送前辈了。。");
			PlayerPerform("pause", 8);
			PlayerPerform("say", "好，晚辈就让前辈歇一会。。在怎么说你也是（有名）的人。");
			PlayerPerform("pause", 2);
			PlayerPerform("block", 1);

			trg1 = 5;
			timer1 = now + 10;
		}
	}

if (trg1 == 5 && now>timer1)
	{
		c = GetAnyChar("孙玉伯");
		if (c>=0)
		{
			RemoveNPC(c);
		}

		trg1 = 6;
	}





if (trg2 == 0)
	{
		c = GetChar("僵尸1");
		c1 = GetChar("僵尸2");
		c2 = GetChar("僵尸3");
		c3 = GetChar("僵尸4");
		c4 = GetChar("僵尸5");
		c5 = GetChar("僵尸6");
		if (c>=0 && GetEnemy(c)==player)
		{

			ChangeBehavior(c, "follow", player);
                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
			Perform(c, "say", "我们回来了。你就当我们的食物吧。。");
			Perform(c, "faceto", player);

			ChangeBehavior(c1, "follow", player);
                        Perform(c1, "use", 5);
                        Perform(c1, "use", 19);
			Perform(c1, "say", "我们是他们的奴隶。奴隶..");
			Perform(c1, "pause", 2);
			Perform(c1, "faceto", player);

			ChangeBehavior(c2, "follow", player);
                        Perform(c2, "use", 5);
                        Perform(c2, "use", 19);
			Perform(c2, "say", "来了...我们来了..");
			Perform(c2, "pause", 3);
			Perform(c2, "faceto", player);

			ChangeBehavior(c3, "follow", player);
                        Perform(c3, "use", 5);
                        Perform(c3, "use", 19);
			Perform(c3, "say", "我们回来了...他们的奴隶..");
			Perform(c3, "pause", 2);
			Perform(c3, "faceto", player);

			ChangeBehavior(c4, "follow", player);
                        Perform(c4, "use", 5);
                        Perform(c4, "use", 19);
			Perform(c4, "say", "我们是他们的奴隶。奴隶....他们的奴隶。");
			Perform(c4, "pause", 2);
			Perform(c4, "faceto", player);

			ChangeBehavior(c5, "follow", player);
                        Perform(c5, "use", 5);
                        Perform(c5, "use", 19);
			Perform(c5, "say", "来了。他们来了..我们是他们的奴隶。。");
			Perform(c5, "pause", 2);
			Perform(c5, "faceto", player);

			PlayerPerform("block", 0);
			PlayerPerform("say", "我靠-又是这玩意。..回来我也的把你们打回去。。。");
			PlayerPerform("pause", 3);
			PlayerPerform("block", 1);


			trg2 = 1;

		}		
	}


      if (trg2 == 1)
	{
		c = GetAnyChar("僵尸1");
		c3 = GetAnyChar("僵尸2");
		c4 = GetAnyChar("僵尸3");
		c5 = GetAnyChar("僵尸4");
		c6 = GetAnyChar("僵尸5");
		c7 = GetAnyChar("僵尸6");
		if (GetHP(c)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 &&  GetHP(c8)<=0 &&  GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{

			PlayerPerform("say", "哼哼...死也死的不光彩你们这些所谓的僵尸。。。");
			PlayerPerform("pause", 3);


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


if (trg2==2 && now>timer0)
	{

              AddNPC("金华剑客1");
              AddNPC("金华剑客2");
              AddNPC("金华剑客3");
              AddNPC("金华剑客4");
              AddNPC("金华剑客5");
              AddNPC("金华刺客1");
              AddNPC("金华刺客2");
              AddNPC("金华刺客3");
                RemoveNPC(GetAnyChar("僵尸1"));
		RemoveNPC(GetAnyChar("僵尸2"));
                RemoveNPC(GetAnyChar("僵尸3"));
		RemoveNPC(GetAnyChar("僵尸4"));
                RemoveNPC(GetAnyChar("僵尸5"));
		RemoveNPC(GetAnyChar("僵尸6"));

		trg2 = 3;


	}

        if (trg2 == 3)
	{
		c = GetChar("金华剑客1");		
		if (c>=0 && GetEnemy(c)==player)
		{

                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
			Perform(c, "say", "我来会会你....。受死。。");
			Perform(c, "faceto", player);

			StopChat();								
			c2 = GetChar("金华刺客1");
			if (c2 >= 0)
			{
                        ChangeBehavior(c2, "idle");
			Perform(c2,"guard", 99999);
			}			
			c2 = GetChar("金华刺客2");
			if (c2 >= 0)
			{
                        ChangeBehavior(c2, "idle");
			Perform(c2,"guard", 99999);
			}			
			c2 = GetChar("金华刺客3");
			if (c2 >= 0)
			{
                        ChangeBehavior(c2, "idle");
			Perform(c2,"guard", 99999);
			}

			PlayerPerform("block", 1);
			trg2 = 4;

	}
}


if (trg2 == 4)
	{
		c = GetChar("金华剑客1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "哎呦。。。棘手。。..果然不错。不过还有打头。。");
			Perform(c, "faceto", player);
			PlayerPerform("block", 1);
			trg2 = 5;
		}
	}

 if (trg2 == 5)
	{
		c = GetAnyChar("金华剑客1");
		if (GetHP(c) <= 0)
		{
			Say(c, "果然厉害，在下佩服...");
			trg2 = 6;
		}
	}


        if (trg3 == 0)
	{
		c = GetChar("金华剑客2");		
		if (c>=0 && GetEnemy(c)==player)
		{

                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
			Perform(c, "say", "受死吧。。。小子。..竟能闯入金华。");
			Perform(c, "faceto", player);

			PlayerPerform("block", 1);
			trg3 = 1;

	}
}

if (trg3 == 1)
	{
		c = GetChar("金华剑客2");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "哼。。有一套...");
			Perform(c, "faceto", player);
			trg3 = 2;
		}
	}

 if (trg3 == 2)
	{
		c = GetAnyChar("金华剑客2");
		if (GetHP(c) <= 0)
		{
			Say(c, "果然厉害。。在下干拜下风.....");
			trg3 = 3;
		}
	}

        if (trg4 == 0)
	{
		c = GetChar("金华剑客3");		
		if (c>=0 && GetEnemy(c)==player)
		{

                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
			Perform(c, "say", "让你尝尝本公子的厉害。。。。");
			Perform(c, "faceto", player);
			PlayerPerform("block", 1);
			trg4 = 1;

	}
}
if (trg4 == 1)
	{
		c = GetChar("金华剑客3");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "哟....武功真厉害，怪不得能闯入金华。。");
			Perform(c, "faceto", player);
			PlayerPerform("block", 1);
			trg4 = 2;
		}
	}

 if (trg4 == 2)
	{
		c = GetAnyChar("金华剑客3");
		if (GetHP(c) <= 0)
		{
			Say(c, "在下输的心服口服阿....");
			trg4 = 3;

		}
	}


 if (trg4 == 3)
	{	
		c = GetChar("金华剑客1");
		c1 = GetChar("金华剑客2");
		c2 = GetChar("金华剑客3");
		c3 = GetChar("金华剑客2");
		c4 = GetChar("金华剑客3");
if (GetHP(c)<=0 && GetHP(c1)<=0 && GetHP(c2)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && player>=0 && GetHP(player)>0)

		{

			StopChat();								
			c2 = GetChar("金华刺客1");
			if (c2 >= 0)
			{
                        ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 5);
                        Perform(c2, "use", 19);
			Perform(c2, "say", "既然杀了这么多金华的剑客，哼...");
                        Perform(c2, "pause", 2);
			Perform(c2, "faceto", player);
			}			
			c2 = GetChar("金华刺客2");
			if (c2 >= 0)
			{
                         ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 5);
                        Perform(c2, "use", 19);
			Perform(c2, "say", "你..。让你尝尝被人杀的滋味...");
                        Perform(c2, "pause", 3);
			Perform(c2, "faceto", player);
			}			
			c2 = GetChar("金华刺客3");
			if (c2 >= 0)
			{
                        ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 5);
                        Perform(c2, "use", 19);
			Perform(c2, "say", "受死吧...。");
                        Perform(c2, "pause", 4);
			Perform(c2, "faceto", player);
			}


			PlayerPerform("say", "轮到你们勒。。金华刺客");		
			PlayerPerform("block", 1);

			trg4 = 4;
		}
	}


      if (trg4 == 4)
	{
		c = GetAnyChar("金华刺客1");
		c1 = GetAnyChar("金华刺客2");
		c2 = GetAnyChar("金华刺客3");
		c3 = GetAnyChar("金华剑客1");
		c4 = GetAnyChar("金华剑客2");
		c5 = GetAnyChar("金华剑客3");
		c6 = GetAnyChar("金华剑客4");
		c7 = GetAnyChar("金华剑客5");
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("use", 15);	
			PlayerPerform("use", 15);	
			PlayerPerform("say", "呜..金华城里的人真是棘手阿。。。。...忽忽.");

			trg4 = 5;
			timer0 = now + 5;

		}
	}

 if (trg4 == 5 && now>timer0)
	{
	  AddNPC("金华八卦1");
	  AddNPC("金华八卦2");
	  AddNPC("金华八卦3");
	  AddNPC("金华八卦4");
	  AddNPC("金华八卦5");
	  AddNPC("金华八卦6");
	  AddNPC("金华八卦7");
                RemoveNPC(GetAnyChar("金华刺客1"));
		RemoveNPC(GetAnyChar("金华刺客2"));
                RemoveNPC(GetAnyChar("金华刺客3"));
		RemoveNPC(GetAnyChar("金华剑客1"));
                RemoveNPC(GetAnyChar("金华剑客2"));
		RemoveNPC(GetAnyChar("金华剑客3"));
                RemoveNPC(GetAnyChar("金华剑客4"));
		RemoveNPC(GetAnyChar("金华剑客5"));
		trg4 = 6;

	}


	if (trg4 == 6)
	{
		c2 = GetChar("八卦连环阵2");
		c3 = GetChar("八卦连环阵3");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
                     ChangeBehavior(c2,"follow",player);
			Perform(c2, "say", "我们是回来报仇的。");
			Perform(c2, "faceto", player);
			trg4 = 7;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
                     ChangeBehavior(c3,"follow",player);
			Perform(c3, "say", "我们是回来报仇的");
			Perform(c3, "faceto", player);
			trg4 = 7;
		}		
	}

	if (trg5 == 0)
	{
		c2 = GetChar("八卦连环阵4");
		c3 = GetChar("八卦连环阵5");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
                     ChangeBehavior(c2,"follow",player);
			Perform(c2, "say", "报仇.....");
			Perform(c2, "faceto", player);
			trg5 = 1;
			trg4 = 7;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
                     ChangeBehavior(c3,"follow",player);
			Perform(c3, "say", "报仇.......");
			Perform(c3, "faceto", player);
			trg5 = 1;
			trg4 = 7;
		}		
	}

	if (trg6 == 0)
	{
		c2 = GetChar("八卦连环阵6");
		c3 = GetChar("八卦连环阵7");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
                     ChangeBehavior(c2,"follow",player);
			Perform(c2, "say", "我们说过会回来的...");
			Perform(c2, "faceto", player);
			trg6 = 1;
			trg5 = 1;
			trg4 = 7;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
                     ChangeBehavior(c3,"follow",player);
			Perform(c3, "say", "我们说过会回来的....");
			Perform(c3, "faceto", player);
			trg6 = 1;
			trg5 = 1;
			trg4 = 7;
		}		
	}


	if (trg7 == 0)
	{
		c2 = GetChar("八卦连环阵8");		
		if (c2>=0 && GetEnemy(c2)==player)
		{
                       ChangeBehavior(c2,"follow",player);
			Perform(c2, "say", ".哼哼....这次我们就要报仇了。。。");
			Perform(c2, "faceto", player);
			trg7 = 1;
			trg6 = 1;
			trg5 = 1;
			trg4 = 7;

		}

       }

        if (trg8==0)
	{
		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)
		{
			

                     ChangeBehavior(c1,"follow",player);
                     ChangeBehavior(c2,"follow",player);
                     ChangeBehavior(c3,"follow",player);
                     ChangeBehavior(c4,"follow",player);
                     ChangeBehavior(c5,"follow",player);
                     ChangeBehavior(c6,"follow",player);
                     ChangeBehavior(c7,"follow",player);
			
			PlayerPerform("use", 15);		
			PlayerPerform("say", "在次领教你们了......领教了。。");			
			PlayerPerform("block", 1);
			trg8 = 1; 
			
		}		
	}


      if (trg8 == 1)
	{
		c = GetAnyChar("八卦连环阵2");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{		
                        Perform(c, "use", 35);	
			Perform(c, "say", "阿..看来我们报不了仇了..。那我们活着还有什么意思...");
			Perform(c, "faceto", player);
			trg8 = 2;

                         StopChat();														
			c2 = GetChar("八卦连环阵3");
			if (c2 >= 0)
			{
                                Perform(c2, "use", 35);
				Perform(c2, "guard", 3);
			}			
								
			c2 = GetChar("八卦连环阵4");
			if (c2 >= 0)
			{
                                Perform(c2, "use", 35);
				Perform(c2, "guard", 3);
			}			
								
			c2 = GetChar("八卦连环阵5");
			if (c2 >= 0)
			{
                                Perform(c2, "use", 35);
				Perform(c2, "guard", 3);
			}			
								
			c2 = GetChar("八卦连环阵6");
			if (c2 >= 0)
			{
                                Perform(c2, "use", 35);
				Perform(c2, "guard", 3);
			}			
								
			c2 = GetChar("八卦连环阵7");
			if (c2 >= 0)
			{
                    
                                Perform(c2, "use", 35);
				Perform(c2, "guard", 3);
			}	
			c2 = GetChar("八卦连环阵8");
			if (c2 >= 0)
			{
                                Perform(c2, "use", 35);
				Perform(c2, "guard", 2);
			}	


			PlayerPerform("say", "我敬仰你们..。你们都是一条汉子...佩服。。");
			PlayerPerform("pause", 5);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			trg8 = 2;
		        timer0 = now + 10;

		}
	}

 if (trg8 == 2 && now>timer0)
	{
	  AddNPC("金华无名1");
	  AddNPC("金华无名2");
	  AddNPC("金华无名3");
	  AddNPC("金华无名4");
	  AddNPC("金华无名5");
		RemoveNPC(GetAnyChar("八卦连环阵2"));
                RemoveNPC(GetAnyChar("八卦连环阵3"));
		RemoveNPC(GetAnyChar("八卦连环阵4"));
                RemoveNPC(GetAnyChar("八卦连环阵5"));
		RemoveNPC(GetAnyChar("八卦连环阵6"));
                RemoveNPC(GetAnyChar("八卦连环阵7"));
		RemoveNPC(GetAnyChar("八卦连环阵8"));
		trg8 = 3;

	}


if (trg8==3)
	{
		c = GetAnyChar("无名1");
		c2 = GetAnyChar("无名2");
		c3 = GetAnyChar("无名3");
		c4 = GetAnyChar("无名4");
		c5 = GetAnyChar("无名5");
		if (c>=0 && GetEnemy(c)==player)
		{
                        ChangeBehavior(c,"follow",player);
                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
			Perform(c, "faceto", player);
			Perform(c, "say", "你...竟然敢在金华胡闹..看我怎么收拾你。。");
			Perform(c, "faceto", player);

                        ChangeBehavior(c2,"follow",player);
                        Perform(c2, "use", 5);
                        Perform(c2, "use", 19);
			Perform(c2, "faceto", c);

                        ChangeBehavior(c3,"follow",player);
                        Perform(c3, "use", 5);
                        Perform(c3, "use", 19);
			Perform(c3, "faceto", c);
				
                        ChangeBehavior(c4,"follow",player);
                        Perform(c4, "use", 5);
                        Perform(c4, "use", 19);
			Perform(c4, "faceto", c);		
			
                        ChangeBehavior(c5,"follow",player);
                        Perform(c5, "use", 5);
                        Perform(c5, "use", 19);
			Perform(c5, "faceto", c);

			PlayerPerform("block", 0);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("say", "我不是胡闹...哼哼....我是为天下清理门户。");
			PlayerPerform("pause", 6);
			PlayerPerform("block", 1);

			trg8 = 4;
		}
	}

      if (trg8 == 4)
	{
		c = GetAnyChar("无名1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "果然是厉害你这家伙...。");

			PlayerPerform("say", "就你这点功夫还做老大....");
			PlayerPerform("pause", 4);
			trg8 = 5;
		}
	}


if (trg8 == 5)
	{
		c = GetAnyChar("无名1");
		c1 = GetAnyChar("无名2");
		c2 = GetAnyChar("无名3");
		c3 = GetAnyChar("无名4");
		c4 = GetAnyChar("无名5");	
if (GetHP(c)<=0 && GetHP(c1)<=0 && GetHP(c2)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && player>=0 && GetHP(player)>0)
		{



			PlayerPerform("block", 1);
		        PlayerPerform("say", "呜..。还有多少人呀。。。");
		        PlayerPerform("block", 1);
 
			trg8 = 6;
		         timer1 = now + 5;

		}
	}




 if (trg8 == 6 && now>timer1)
	{
	  AddNPC("金华镖客1");
	  AddNPC("金华镖客2");
	  AddNPC("金华镖客3");
	  AddNPC("金华镖客4");
	  AddNPC("金华镖客5");
	  AddNPC("金华镖客6");
	  AddNPC("金华镖客7");
	  AddNPC("金华镖客8");
                RemoveNPC(GetAnyChar("无名1"));
		RemoveNPC(GetAnyChar("无名2"));
                RemoveNPC(GetAnyChar("无名3"));
		RemoveNPC(GetAnyChar("无名4"));
                RemoveNPC(GetAnyChar("无名5"));
		RemoveNPC(GetAnyChar("无名6"));
                RemoveNPC(GetAnyChar("无名7"));
		RemoveNPC(GetAnyChar("无名8"));
		trg8 = 7;

	}

if (trg9 == 0)
	{
		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);
			trg9 = 1;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
			ChangeBehavior(c3, "follow", c);
			Perform(c3, "say", "终于看见你小子了..老大..发现了。。");
			Perform(c3, "faceto", player);
			trg9 = 1;
		}		
	}

	if (trg10 == 0)
	{
		c = GetChar("镖客1");
		c2 = GetChar("镖客6");
		c3 = GetChar("镖客5");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
			ChangeBehavior(c2, "follow", c);
			Perform(c2, "say", "终于看见你小子了..老大..发现了。。");
			Perform(c2, "faceto", player);
			trg10 = 1;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
			ChangeBehavior(c3, "follow", c);
			Perform(c3, "say", "终于看见你小子了..老大..发现了。。");
			Perform(c3, "faceto", player);
			trg10 = 1;
		}		
	}


	if (trg11 == 0)
	{
		c = GetChar("镖客1");
		c2 = GetChar("镖客4");
		c3 = GetChar("镖客3");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
			ChangeBehavior(c2, "follow", c);
			Perform(c2, "say", "终于看见你小子了..老大..发现了。。");
			Perform(c2, "faceto", player);
			trg11 = 1;
		}
		if (c3>=0 && GetEnemy(c3)==player)
		{
			ChangeBehavior(c3, "follow", c);
			Perform(c3, "say", "终于看见你小子了..老大..发现了。。");
			Perform(c3, "faceto", player);
			trg11 = 1;
		}		
	}

	if (trg12 == 0)
	{
		c = GetChar("镖客1");
		c2 = GetChar("镖客2");
		
		if (c2>=0 && GetEnemy(c2)==player)
		{
			ChangeBehavior(c2, "follow", c);
			Perform(c2, "say", "老终于看见你小子了..老大..发现了。。这家伙在这，");
			Perform(c2, "faceto", player);
			trg12 = 1;

		}		
	}

	if (trg13 == 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)
		{

			ChangeBehavior(c, "follow", player);
			Perform(c, "say", "看你能闯过我们的毒镖阵不能了。。能闯过算你的厉害。。");
			Perform(c, "faceto", player);

		       ChangeBehavior(c1, "follow", player);
		       ChangeBehavior(c2, "follow", player);
		       ChangeBehavior(c3, "follow", player);
		       ChangeBehavior(c4, "follow", player);
		       ChangeBehavior(c5, "follow", player);
		       ChangeBehavior(c6, "follow", player);
		       ChangeBehavior(c7, "follow", player);

			PlayerPerform("block", 0);
			PlayerPerform("say", "我靠，又是镖客。我最怕的就是这玩意了。。。");
			PlayerPerform("pause", 3);
			PlayerPerform("block", 1);


			trg13 = 1;

		}		
	}


      if (trg13 == 1)
	{
		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(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 &&  GetHP(c8)<=0 &&  GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{

			PlayerPerform("say", "草他妈的。真是把我 好折腾阿。。.....。");
			PlayerPerform("pause", 3);


			trg13 = 2;
			timer0 = now + 4;
		}		
	}




if (trg13==2 && now>timer0)
	{

              AddNPC("金华二公子1");
              AddNPC("金华三公子1");
              AddNPC("无名护卫1");
              AddNPC("无名护卫2");
              AddNPC("无名护卫3");
              AddNPC("无名护卫4");
              AddNPC("无名护卫5");
                RemoveNPC(GetAnyChar("镖客1"));
		RemoveNPC(GetAnyChar("镖客2"));
                RemoveNPC(GetAnyChar("镖客3"));
		RemoveNPC(GetAnyChar("镖客4"));
                RemoveNPC(GetAnyChar("镖客5"));
		RemoveNPC(GetAnyChar("镖客6"));
                RemoveNPC(GetAnyChar("镖客7"));
		RemoveNPC(GetAnyChar("镖客8"));

		trg13 = 3;


	}


 if (trg13 == 3)
        {          
                c = GetAnyChar("二公子"); 
		c1 = GetAnyChar("三公子");  
                c2 = GetAnyChar("无名护卫1"); 
		c3 = GetAnyChar("无名护卫2");   
                c4 = GetAnyChar("无名护卫3"); 
		c5 = GetAnyChar("无名护卫4");   
                c6 = GetAnyChar("无名护卫5");   
		c7 = GetAnyChar("伊人梦");   
                if (c>=0 && GetEnemy(c)==player)
                {           
                        ChangeBehavior(c, "kill", player);

                        Perform(c, "use", 19);
                        Perform(c, "use", 5);
			Perform(c, "faceto", player);
                        Perform(c, "say", "今天就是为我哥报仇的机会了，不杀你，还配做公子。哼，三弟，一起杀了他..");
                        Perform(c, "pause", 5);
			Perform(c, "faceto", player);
                        Perform(c, "say", "老大老大，这么听你老大的话，看来你真是条狗。.");
                        Perform(c, "pause", 5);
			Perform(c, "faceto", player);
                        Perform(c, "say", "我哥一向是做事利索，他就是那么个人，你做杀手的就可以随便取人性命。");
                        Perform(c, "pause", 4);
			Perform(c, "faceto", player);
                        Perform(c, "say", "那当初为什么要杀我哥呢。。。");
                        Perform(c, "pause", 3);
                        Perform(c, "say", "你真的是厉害阿。。还不死。");
			Perform(c, "faceto", player);	

                        ChangeBehavior(c1, "kill", player);
                        Perform(c1, "use", 19);
                        Perform(c1, "use", 5);
                        Perform(c1, "say", "伊人君，纳你的命吧。。");
		        Perform(c1, "pause", 20); 
      
                        ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 19);
                        Perform(c2, "use", 5);
		        Perform(c2, "pause", 20); 

                        ChangeBehavior(c3, "kill", player);
                        Perform(c3, "use", 19);
                        Perform(c3, "use", 5);
		        Perform(c3, "pause", 20); 

                        ChangeBehavior(c4, "kill", player);
                        Perform(c4, "use", 19);
                        Perform(c4, "use", 5);
		        Perform(c4, "pause", 20); 

                        ChangeBehavior(c5, "kill", player);
                        Perform(c5, "use", 19);
                        Perform(c5, "use", 5);
		        Perform(c5, "pause", 20); 

                        ChangeBehavior(c6, "kill", player);
                        Perform(c6, "use", 19);
                        Perform(c6, "use", 5);
		        Perform(c6, "pause", 20); 

                        ChangeBehavior(c7, "kill", player);
                        Perform(c7, "use", 19);
                        Perform(c7, "use", 5);
		        Perform(c7, "pause", 20); 

			PlayerPerform("block", 0);
                        PlayerPerform("say", "那我不会对你客气的。。.");
                        PlayerPerform("say", "杀死你哥，注定也的跟你来场血战。。.");
                        PlayerPerform("pause", 7); 
                        PlayerPerform("say", "..你...找死。。");
                        PlayerPerform("pause", 4);
                        PlayerPerform("say", "不是这样说的.要不是你哥作恶多端，我想老大也不会让我去杀他。");
                        PlayerPerform("pause", 4);
                        PlayerPerform("say", "我为什么会杀你哥。。我已经说的狠清楚了。");
                        PlayerPerform("pause", 3);
                        PlayerPerform("say", "如果不杀死你们两个，我们永远不会安宁。。");
                        PlayerPerform("pause", 2);
                        PlayerPerform("block", 1);
                        
                        trg13 = 4;     
                }          
        }




 if (trg13 == 4)
	{
		c = GetAnyChar("二公子");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			

                        Perform(c, "use", 15);
                        Perform(c, "use", 15);
			Perform(c, "say", "你这小子，不知好歹阿。");
			trg13 = 5;
		}
	}
      if (trg13 == 5)
	{
		c = GetAnyChar("二公子");
		if (GetHP(c) <= 0)
		{
			Say(c, "哥，二弟去陪你了。。呜。。。");
			trg13 = 6;
		}
	}


 if (trg14 == 0)
	{
		c = GetAnyChar("三公子");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			

                        Perform(c, "use", 15);
                        Perform(c, "use", 15);
			Perform(c, "say", "你这小子，不知好歹阿。");
			trg14 = 1;
		}
	}
      if (trg14 == 1)
	{
		c = GetAnyChar("三公子");
		if (GetHP(c) <= 0)
		{
			Say(c, "哥，三弟去陪你了。。呜。。。");
			trg14 = 2;
		}
	}


      if (trg14 == 2)
	{
		c1 = GetAnyChar("二公子");
		c2 = GetAnyChar("三公子");
		
		if (GetHP(c)<=0 && GetHP(c1)<=0 && GetHP(c2)<=0 && player>=0 && GetHP(player)>0)
		{

                        PlayerPerform("block", 0);
			PlayerPerform("say", "难免要跟孙玉伯来一场了？");
                        PlayerPerform("pause", 2);
                        PlayerPerform("block", 1);
			PlayerPerform("say", "现在把事情搞到现在这样的地步，也是没办法的。？");
                        PlayerPerform("pause", 2);
                        PlayerPerform("block", 1);
			PlayerPerform("say", "但那是命令，我必须那么做。");
                        PlayerPerform("pause", 2);
                        PlayerPerform("block", 1);
			PlayerPerform("say", "但是我不这样做是不行的了，难道一开始就不该杀孙剑吗？");
                        PlayerPerform("pause", 2);
                        PlayerPerform("block", 1);
			PlayerPerform("say", "阿？。我杀了孙玉伯三个儿子，看来他知道会恨我入骨阿。。");
                        PlayerPerform("pause", 2);
                        PlayerPerform("block", 1);
			trg14 = 3;
                        timer0 = now + 20;
		}
	}



if (trg14==3 && now>timer0)
	{

              AddNPC("金华孙玉伯1");
		RemoveNPC(GetAnyChar("无名护卫1"));
                RemoveNPC(GetAnyChar("无名护卫2"));
		RemoveNPC(GetAnyChar("无名护卫3"));
                RemoveNPC(GetAnyChar("无名护卫4"));
		RemoveNPC(GetAnyChar("无名护卫5"));
		trg14 = 4;


	}

    if (trg14==4)
	{
		c = GetAnyChar("孙玉伯");
		c1 = GetAnyChar("二公子");
		c2 = GetAnyChar("三公子");
		c3 = GetAnyChar("伊人梦");
		if (c>=0 && GetEnemy(c)==player)
		{

                        ChangeBehavior(c,"follow",player);
                        Perform(c, "use", 34);
                        Perform(c, "use", 3);
                        Perform(c, "use", 5);
                        Perform(c, "use", 19);
			Perform(c, "faceto", player);
			Perform(c, "say", "那老夫今天就要了你的命。。。。。");
			Perform(c, "pause", 6);
			Perform(c, "faceto", player);
			Perform(c, "say", "那你把老夫也杀了吧。。。你...你..拿你的命来，我要为我的儿子报仇。。");
			Perform(c, "pause", 4);
			Perform(c, "faceto", player);
			Perform(c, "say", "你....。你杀死我三个儿子。我今天要把你燧石万段..");
			Perform(c, "faceto", player);
			Perform(c, "pause", 2);
			Perform(c, "say", "阿，我的儿阿......");
			Perform(c, "faceto", c2);
			Perform(c, "pause", 2);
			Perform(c, "say", "我的儿.......");
			Perform(c, "faceto", c1);

			Perform(c3, "pause", 99999999);

			PlayerPerform("block", 0);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("say", "好，，你杀吧，为了人生的安乐你就杀了我吧，我绝不还手的。。");
			PlayerPerform("pause", 6);			
			PlayerPerform("say", "我不得不这么做阿。。。那你就杀死我为你的儿子报仇吧，晚辈不想杀害您老。。");
			PlayerPerform("pause", 2);	
			PlayerPerform("say", "晚辈不敢，我知道杀死你三个儿子，你会恨我入骨，但是为了你的名气，还有人世的安乐，");
			PlayerPerform("pause", 4);			
			PlayerPerform("say", "我不杀他们，他们会危害人间，到处作乱的。。");			
			PlayerPerform("say", "孙玉伯，对不起，是你们的儿子执迷不误啊，我不能不杀他们。");
			PlayerPerform("pause", 6);			
			PlayerPerform("block", 1);
			trg14 = 5; 
			timer1 = now + 50;

		}		
	}


	if (trg14==5 && now>timer1)
	{
		c = GetChar("孙玉伯");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && Distance(0, 1)<150)
		{				
			Perform(c, "pause", 2);
			Perform(c, "say", "老夫不信，老夫不信啊。。");
			Perform(c, "pause", 6);
			Perform(c, "faceto", player);
			Perform(c, "say", "难道他们真的像你所说的那样吗？..不敢相信。。");
			Perform(c, "pause", 4);
			Perform(c, "faceto", player);
			Perform(c, "say", "老夫的儿子，老夫怎不知道呢。。。");
			Perform(c, "pause", 3);
			Perform(c, "faceto", player);

			PlayerPerform("block", 0);
			PlayerPerform("say", "既然这样，那请孙前辈杀死晚辈为你的儿子报仇吧。。");
			PlayerPerform("pause", 7);
			PlayerPerform("block", 1);
			PlayerPerform("say", "您一世英明，可不要为了你的儿子而毁掉自己的英明。");
			PlayerPerform("say", "晚辈说的全是事实，我们做杀手的只杀坏人，不会杀好人的。。");
			PlayerPerform("pause", 5);
			PlayerPerform("block", 1);
			PlayerPerform("say", "真的，我说的真的是事实，全无半点虚假。");
			PlayerPerform("pause", 5);
			PlayerPerform("block", 1);
			PlayerPerform("say", "前辈，就算你杀死我，你也的为人们想想，你儿子真的是作恶多端呢。。");
			PlayerPerform("block", 1);

			timer2 = now + 40;
			trg14 = 6;
		}
	}

	if (trg14==6 && now>timer2)
	{
		c = GetChar("孙玉伯");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && Distance(0, 1)<150)
		{				
			Perform(c, "pause", 100);
			Perform(c, "say", "这里没有什么值的老夫留恋的了，唉。。老夫告辞了。。");
			Perform(c, "pause", 1);
			Perform(c, "faceto", player);
			Perform(c, "say", "在怎么说，他也是我的儿子阿。.既然他们作恶，你杀他我不会在追究，但是请你也不要在提起此事");
			Perform(c, "pause", 2);
			Perform(c, "faceto", player);
			Perform(c, "say", "不过。。请你以后不要在对老夫提起此事");
			Perform(c, "pause", 2);
			Perform(c, "faceto", player);
			Perform(c, "say", "伊人君，老夫相信你，老夫不会在追究此事，你走吧。。。");
			Perform(c, "pause", 2);
			Perform(c, "faceto", player);
			Perform(c, "say", "没想到我一世英明，我的三个儿子竟会这样。可恨呢。。");
			Perform(c, "pause", 2);
			Perform(c, "faceto", player);
			Perform(c, "say", "既然真的不还手，看来老夫真的是错怪你了。也许我的儿子真的像你所说。");
			Perform(c, "pause", 3);
			Perform(c, "faceto", player);

                        PlayerPerform("say", "前辈慢走。。前辈英明。。。");
                        PlayerPerform("pause", 5);
                        PlayerPerform("block", 1);
			PlayerPerform("block", 1);
                        PlayerPerform("say", "恩，孙前辈英明，在下决不会提起此事。。请孙前辈放心。。");
                        PlayerPerform("pause", 13);
                        PlayerPerform("block", 1);
			PlayerPerform("block", 1);

			timer2 = now + 18;
			trg14 = 7;
		}
	}

	if (trg14==7 && now>timer2)
	{
		c = GetChar("孙玉伯");

		if (c>=0)
		{
		        RemoveNPC(c);
			trg14 = 8;
			timer3 = now + 1;
		}
	}

	if (trg14 == 8 && now>timer3)
	{
		c = GetChar("伊人梦");

		if (c>=0)
		{
		PlayerPerform("block", 0);
		PlayerPerform("crouch", 0);
		PlayerPerform("say", "祝大家玩的开心哟...");
		PlayerPerform("pause", 2);
		PlayerPerform("crouch", 1);
		PlayerPerform("say", "有什么不懂的请联系我，我的QQ号码是765739946");
		PlayerPerform("pause", 2);
		PlayerPerform("crouch", 1);
		PlayerPerform("say", "有什么不懂的请联系我，我的QQ号码是765739946");
		PlayerPerform("pause", 2);
		PlayerPerform("crouch", 1);
		PlayerPerform("say", "有什么不懂的请联系我，我的QQ号码是765739946");
		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("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("crouch", 1);
		PlayerPerform("say", "孙前辈果然是英明。什么事都这么英明。");
		PlayerPerform("pause", 2);
		PlayerPerform("crouch", 1);
		PlayerPerform("say", "唉。。总算说服孙前辈了。。");
		PlayerPerform("crouch", 1);
		PlayerPerform("block", 1);
		trg14 = 9;
		timer4 = now + 40;
	}

     }
	if (trg14==9 && now>timer4)
	{
              	gameover = 1;
		trg14 = 10;
                       }

     if (trg13 == 6)
	{

                 c2 = GetChar("孙玉伯"); 
		if (c2>=0 && GetHP(c2)<GetMaxHP(c2))
	        {

			Perform(c, "say", "你真的想杀老夫。。你去死吧。。");
			Perform(c, "faceto", player);


			PlayerPerform("use", 35);
			PlayerPerform("say", "你不该打他，你不打他你才能过关。。你不要打他。等一会你就过关了。");
			PlayerPerform("pause", 2);
			PlayerPerform("block", 1);

			trg13 = 7;
		        gameover = -1;
		        timer1 = now + 4;
		}
	}



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

}