//  过关之路.赶去金华终极一战
int Rule = 3;
int RoundTime = 90;
int PlayerSpawn = 132;
int PlayerSpawnDir = 270;
int PlayerWeapon = 15;
int PlayerWeapon2 = 50;
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 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("五爪守卫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("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 && c1>=0 && c2>=0)
	        {

 			Perform(c,"say", "那你们都去前面给我搜索一下，看那小子在哪，都快给我去。"); 
			Perform(c,"pause", 8);
 			Perform(c,"say", "一定要小心谨慎.."); 
			Perform(c,"pause", 1);   
			Perform(c,"say", "我们的任务是守关人。可不能让那家伙过了，大家都听到了吗？"); 
			Perform(c,"pause", 1);
			Perform(c,"say", "你们都给我用心的点，不要小看那家伙，。"); 
			Perform(c,"pause", 1);
			Perform(c,"say", "飞城宝的人说，那小子闯入这里了。）"); 

			ChangeBehavior(c1, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c1,"pause", 8);
			Perform(c1,"say", "是。。"); 
			Perform(c1,"pause", 5);
                        Perform(c1, "faceto", c);
			Perform(c1, "crouch", 1);

			ChangeBehavior(c2, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c2,"pause", 8);
			Perform(c2,"say", "是。。"); 
			Perform(c2,"pause", 5);
                        Perform(c2, "faceto", c);
			Perform(c2, "crouch", 1);

			ChangeBehavior(c3, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c3,"pause", 8);
			Perform(c3,"say", "是。。"); 
			Perform(c3,"pause", 5);
                        Perform(c3, "faceto", c);
			Perform(c3, "crouch", 1);

			ChangeBehavior(c4, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c4,"pause", 8);
			Perform(c4,"say", "是。。"); 
			Perform(c4,"pause", 5);
                        Perform(c4, "faceto", c);
			Perform(c4, "crouch", 1);

			ChangeBehavior(c5, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c5,"pause", 8);
			Perform(c5,"say", "是。。"); 
			Perform(c5,"pause", 5);
                        Perform(c5, "faceto", c);
			Perform(c5, "crouch", 1);

			ChangeBehavior(c6, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c6,"pause", 8);
			Perform(c6,"say", "是。。"); 
			Perform(c6,"pause", 5);
                        Perform(c6, "faceto", c);
			Perform(c6, "crouch", 1);

			ChangeBehavior(c7, "patrol", 23, 24, 25,  26, 17, 139, 51,  134, 141, 48);
			Perform(c7,"pause", 8);
			Perform(c7,"say", "是。。"); 
			Perform(c7,"pause", 5);
                        Perform(c7, "faceto", c);
			Perform(c7, "crouch", 1);



			PlayerPerform("block", 0);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("pause", 6);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
			PlayerPerform("block", 1);
                        PlayerPerform("say", "好，我赶紧去破城门。"); 
                        PlayerPerform("say", "果然..五爪峰，我只有破这里的城门才能赶去金华."); 
			PlayerPerform("pause", 6);
			PlayerPerform("block", 1);

			trg0 = 2;
                }          
        }     

if (trg1 == 0)
	{
		c = GetChar("守关人1");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg1 = 1;
		}
	}

	if (trg2 == 0)
	{
		c = GetChar("守关人2");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg2 = 1;
		}
	}

	if (trg3 == 0)
	{
		c = GetChar("杀手底下3");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg3 = 1;
		}
	}

	if (trg4 == 0)
	{
		c = GetChar("守关人4");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg4 = 1;
		}
	}

	if (trg5 == 0)
	{
		c = GetChar("守关人5");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg5 = 1;
		}
	}
	if (trg6 == 0)
	{
		c = GetChar("守关人6");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg6 = 1;
		}
	}
	if (trg7 == 0)
	{
		c = GetChar("守关人7");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人8"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg7 = 1;
		}
	}

	if (trg8 == 0)
	{
		c = GetChar("守关人8");
		SetTarget(0, "char", c);
		SetTarget(1, "char", player);
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "大家快过来！！，发现入侵者了！！");
			Perform(c, "faceto", c);

			c2 = GetChar("守关人2"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			c2 = GetChar("守关人3"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人4"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人5"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人6"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}
			c2 = GetChar("守关人7"); 
			if (c2 >= 0)
			{
				ChangeBehavior(c2, "kill", player);
			}

			trg8 = 1;
		}
	}
      if (trg8 == 1)
	{
		c = GetAnyChar("守关人1");
		c1 = GetAnyChar("守关人2");
		c2 = GetAnyChar("守关人3");
		c3 = GetAnyChar("守关人4");
		c4 = GetAnyChar("守关人5");
		c5 = GetAnyChar("守关人6");
		c6 = GetAnyChar("守关人7");
		c7 = GetAnyChar("守关人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", 3);


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

if (trg8==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"));
		trg8 = 3;
		timer1 = now + 4;


	}
if (trg8==3 && now>timer1)
	{

              AddNPC("五爪和尚1");
              AddNPC("五爪和尚2");
              AddNPC("五爪和尚3");
              AddNPC("五爪和尚4");
              AddNPC("五爪和尚5");
              AddNPC("五爪和尚6");
              AddNPC("五爪和尚7");
              AddNPC("五爪和尚8");
		trg8 = 4;


	}

    if (trg8==4)
	{
		c = GetAnyChar("守关和尚1");
		c1 = GetAnyChar("守关和尚2");
		c2 = GetAnyChar("守关和尚3");
		c3 = GetAnyChar("守关和尚4");
		c4 = GetAnyChar("守关和尚5");
		c5 = GetAnyChar("守关和尚6");
		c6 = GetAnyChar("守关和尚7");
		c7 = GetAnyChar("守关和尚8");
		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);

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

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

                        ChangeBehavior(c6,"follow",player);
                        Perform(c6, "use", 5);
                        Perform(c6, "use", 19);

                        ChangeBehavior(c7,"follow",player);
                        Perform(c7, "use", 5);
                        Perform(c7, "use", 19);

			PlayerPerform("use", 19);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("say", "找一些和尚来守关....哈哈.");
			PlayerPerform("pause", 3);

		trg8 = 5;


	}
}

      if (trg8 == 5)
	{
		c = GetAnyChar("守关和尚1");
		c1 = GetAnyChar("守关和尚2");
		c2 = GetAnyChar("守关和尚3");
		c3 = GetAnyChar("守关和尚4");
		c4 = GetAnyChar("守关和尚5");
		c5 = GetAnyChar("守关和尚6");
		c6 = GetAnyChar("守关和尚7");
		c7 = GetAnyChar("守关和尚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", 3);


			trg8 = 6;
			timer2 = now + 2;
		}		
	}

if (trg8==6 && now>timer2)
	{

                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;
		timer3 = now + 1;


	}
if (trg8==7 && now>timer3)
	{

              AddNPC("五爪镖客1");
              AddNPC("五爪镖客2");
              AddNPC("五爪镖客3");
              AddNPC("五爪镖客4");
              AddNPC("五爪镖客5");
              AddNPC("五爪镖客6");
              AddNPC("五爪镖客7");
              AddNPC("五爪镖客8");
		trg8 = 8;


	}

    if (trg8==8)
	{
		c = GetAnyChar("蒙面镖客1");
		c1 = GetAnyChar("蒙面镖客2");
		c2 = GetAnyChar("蒙面镖客3");
		c3 = GetAnyChar("蒙面镖客4");
		c4 = GetAnyChar("蒙面镖客5");
		c5 = GetAnyChar("蒙面镖客6");
		c6 = GetAnyChar("蒙面镖客7");
		c7 = GetAnyChar("蒙面镖客8");
		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);

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

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

                        ChangeBehavior(c6,"follow",player);
                        Perform(c6, "use", 5);
                        Perform(c6, "use", 19);

                        ChangeBehavior(c7,"follow",player);
                        Perform(c7, "use", 5);
                        Perform(c7, "use", 19);

			PlayerPerform("use", 19);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("say", "孙老头还挺聪明阿.让镖客来守关。恩！！！！");
			PlayerPerform("pause", 3);

		    trg8 = 9;


	}
}

	if (trg8 == 9)
	{
		c = GetChar("蒙面镖客1");
		if (GetHP(c) <= 0)
		{			
			Say(c, "我没能守住，竟让你过了。。。");
			Say(c, "faceto", player);

			trg8 = 10;
		}
	}

      if (trg8 == 10)
	{
		c = GetAnyChar("蒙面镖客1");
		c1 = GetAnyChar("蒙面镖客2");
		c2 = GetAnyChar("蒙面镖客3");
		c3 = GetAnyChar("蒙面镖客4");
		c4 = GetAnyChar("蒙面镖客5");
		c5 = GetAnyChar("蒙面镖客6");
		c6 = GetAnyChar("蒙面镖客7");
		c7 = GetAnyChar("蒙面镖客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", 3);


			trg8 = 11;
		        gameover = 1;
			timer0 = now + 2;
		}		
	}



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