内测专属,c++

#include
#include
#include
using namespace std;
string guaiwumingzi[28]={"","皇家刀兵","皇家射手","皇家大刀兵","皇家弓弩手","皇家炮手","皇家骑士","国王原型","石巨人","爆破黑鼠","虎王","森林公主","唐尼·麟and婕·麟","树精","风神","宙斯","齐天大圣","如来佛祖","国王变身","黑化熊力天","黑化极月鼠","黑化猫师","冒牌元素之神","元素之神·主宰","OAA","父皇","呵斥之王"};
long long guaiwushuxing[28][5]={{0},{0,20,25,10,50},{0,30,20,20,50},{0,25,30,30,100},{0,20,30,40,60},{0,10,32,50,60},{0,70,50,50,200},{0,50,50,50,1000},{0,200,30,100,1000},{0,200,30,500,1000},{0,88,1000,1200,1000},{0,85,800,150,2050},{0,800,100,120,1000},{0,40,80,10,5000},{0,1000,200,500,1000},{0,102,180,290,2000},{0,1200,20,2500,2500},{0,150,1200,300,2800},{0,100,1500,500,3000},{0,150,100000,100,50000},{0,1000000,100,300000,2500},{0,1200,5250,2300,10000},{0,1,1,1,1},{0,20000,20000,15000,10000},{0,10000000,300000,1000000,1000000},{0,10000000,1000000000,100000000,1000000000},{0,1000000000,1000000000,100000000000,1000000000},{0,1000000000000000000,1000000000000000000,1000000000000000000000,1000000000000000000000}}; 
string chengjiu[14]={"","第一滴血","战场主宰1","战场主宰2","一战国王","送信","暴击虎王","二战国王","战场主宰3","回信","舍弃痛杀","报仇","OAA的帮助","继承父位"};
string renwuyaoqiu[30]={"","打败一个皇家军","打败10个皇家军","打败5个丛林军","击败国王原型","找到虎王,把信给它","征服虎王,得到它的青睐","打败国王变身","累计干掉50个军","返程","干掉黑化熊力天,极月鼠和猫师","击垮元素神","找到OAA","继承王位"};
string wuqi[30]={"","战鞋","战甲","大刀","极月步鞋","AK47","98K","日月巨斧","王者战甲","霸者重甲","神·圣鬼龙大刀","神·猫王战甲","神·无敌之鞋","神·圣灵之主"};
long long wuqishuxing[30][6]={{0},{0,5,0,0,0},{0,0,10,0,10},{0,0,0,10,0},{0,20,0,0,2},{0,0,0,25,0},{0,5,0,30,0},{0,0,10,40,100},{0,0,70,0,500},{0,0,80,20,300},{0,10,0,2500,0,0},{0,0,500,100,5000},{0,2000,0,0,0},{0,1000,250,1000,6000}};
string renwumingcheng[8]={"","猫天极","炽热之帝","嘴强王者","爆穿红毛手","漆黑之羽","无敌呵斥","虚·真命"};
string jineng[10]={"","飞击","日月击","巨轮穿爆","爆炎红牙穿","闪击","乌鸦坐飞机","飞火流星阵容","不灭之躯","吸血重击"}; 
long long jinengweili[10]={0,50,100,200,1000,1200,1500,2000,2500,100000}; 
long long wuqijiage[14]={0,20,100,50,120,300,500,1000,2000,5000,10000,10000,8000,100000};
long long renwushuxing[8][5]={{0},{0,80,25,30,120},{0,60,18,28,180},{0,88,12,28,150},{0,70,12,33,120},{0,90,8,30,110},{0,20,40,40,100},{0,40,50,50,50}};
long long jingyan[100]={0,5,15,20,40,50,80,100,250,200,350,500,500,500,1000,5000,6000,7000,8000,8000,9000,10000,2000,20000,20000,50000,100000,200000,200000,200000,200000,300000,500000};
int renwudengji=1,jiaosebianhao,nisuozaidedaoyu=1,nidexue,nidegongji,nidefangyu,nidesudu,nidejingyan,nidejinbi; 
int wuqigeshu[14]={0,0,0,0,0,0,0,0,0,0,0,0,0,0};
bool nidejineng[10],jingyans[100],chengjius[14],geshu;
string suozaidedaoyu[8]={"","猫国","皇城","森林","天庭","奇怪的猫国","神秘的禁地","极乐之地"};
void jingyanpanduan()
{
	for(int i=32;i>=1;i--)
	{
		if(nidejingyan>jingyan[i]&&!jingyans[i])
		{
			renwudengji++;
			if(jiaosebianhao==7)nidegongji+=10*i,nidexue-=2*i;
			if(jiaosebianhao==1)nidegongji+=2,nidexue+=10,nidefangyu+=10;
			if(jiaosebianhao==2)nidesudu-=1,nidegongji+=15;
			if(jiaosebianhao==3)nidexue+=100;
			if(jiaosebianhao==4)nidegongji+=15;
			if(jiaosebianhao==5)nidesudu+=10*i,nidegongji+=5;
			if(jiaosebianhao==6)nidesudu+=1,nidegongji+=1,nidexue+=5,nidefangyu+=1;
			nidexue+=30+(i-3)*10;
			nidegongji+=5+(i-3)*2;
			nidefangyu+=5+(i-3)*2;
			nidesudu+=2;
			if(i==5)nidejineng[1]=1;
			if(i==12)nidejineng[2]=1;
			if(i==15)nidejineng[3]=1;
			if(i==18)nidejineng[4]=1;
			if(i==20)nidejineng[5]=1;
			if(i==21)nidejineng[6]=1;
			if(i==22)nidejineng[7]==1;
			if(i==25)nidejineng[8]==1;
			if(i==35)nidejineng[9]==1;
			printf("你升级了!!\n");
			printf("你的等级现在是%d\n",renwudengji);
			nidejingyan-=jingyan[i];
			if(i!=32)jingyans[i]=1;
		}
	}
}
void gedou()
{
	switch(nisuozaidedaoyu)
	{
	case 1:{printf("没人可打!!\n");break;}
	case 2:
	{
		int y=rand()%6;
		if(y==3||y==0)
		{
			printf("你遇到了皇家刀兵\n");
		
			int gs=guaiwushuxing[1][1],gf=guaiwushuxing[1][2],gg=guaiwushuxing[1][3],gx=guaiwushuxing[1][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				
				case 1:
				{
					
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue=nidexue-gg+nidefangyu;
					    printf("皇家刀兵对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家刀兵对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家刀兵在你面前不堪一击,你获得了5点经验,10枚金币\n");
						nidejingyan+=5;
						nidejinbi+=10;
						geshu++; 
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战鞋\n");
						  wuqigeshu[1]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=100;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家刀兵对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家刀兵对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=100;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对皇家刀兵造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("皇家刀兵在你面前不堪一击,你获得了5点经验,10枚金币\n");
						nidejingyan+=5;
						nidejinbi+=10;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战鞋\n");
						  wuqigeshu[1]++;
					   }	
					 } 
					break;
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家刀兵对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家刀兵对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家刀兵在你面前不堪一击,你获得了5点经验,10枚金币\n");
						nidejingyan+=5;
						nidejinbi+=10;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战鞋\n");
						  wuqigeshu[1]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=100;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		      }
			}
		}
		}
		else
	    if(y==2)
		{
			
			printf("你遇到了皇家射手\n");
			int gs=guaiwushuxing[2][1],gf=guaiwushuxing[2][2],gg=guaiwushuxing[2][3],gx=guaiwushuxing[2][4];
		
		
			while(gx>0&&nidexue>0)
			{
					printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家射手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家射手对你造成了1点伤害");
					  } 
					else
					{
						printf("皇家射手在你面前不堪一击,你获得了5点经验,12枚金币\n");
						nidejingyan+=5;
						nidejinbi+=12;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战鞋\n");
						  wuqigeshu[1]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50; 
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家射手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家射手对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对皇家射手造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("皇家射手在你面前不堪一击,你获得了5点经验,12枚金币\n");
						nidejingyan+=5;
						nidejinbi+=12;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战鞋\n");
						  wuqigeshu[1]++;
					   }	
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家射手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家射手对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家射手在你面前不堪一击,你获得了5点经验,12枚金币\n");
						nidejingyan+=5;
						nidejinbi+=12;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战鞋\n");
						  wuqigeshu[1]++;
					   }	
					 } 
					 if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		}
			}
		}
		
		else
		if(y==1&&renwudengji>2)
		{
			printf("你遇到了皇家大刀兵\n");
			int gs=guaiwushuxing[3][1],gf=guaiwushuxing[3][2],gg=guaiwushuxing[3][3],gx=guaiwushuxing[3][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家大刀兵对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家大刀兵对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家大刀兵在你面前不堪一击,你获得了8点经验,12枚金币\n");
						nidejingyan+=8;
						nidejinbi+=12;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:大刀\n");
						  wuqigeshu[3]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家大刀兵对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家大刀兵对你造成了1点伤害\n");
					  } 
					if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对皇家大刀兵造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("皇家大刀兵在你面前不堪一击,你获得了8点经验,12枚金币\n");
						nidejingyan+=8;
						nidejinbi+=12;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:大刀\n");
						  wuqigeshu[3]++;
					   }	
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家大刀兵对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家大刀兵对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家大刀兵在你面前不堪一击,你获得了8点经验,12枚金币\n");
						nidejingyan+=8;
						nidejinbi+=12;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:大刀\n");
						  wuqigeshu[3]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		   } 
			}
		}
		else
		if(y==4&&renwudengji>2)
		{
			printf("你遇到了皇家弓弩手\n");
			int gs=guaiwushuxing[4][1],gf=guaiwushuxing[4][2],gg=guaiwushuxing[4][3],gx=guaiwushuxing[4][4];
			while(gx>0&&nidexue>0)
			{
			printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家弓弩手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家弓弩手对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家弓弩手在你面前不堪一击,你获得了8点经验,15枚金币\n");
						nidejingyan+=8;
						nidejinbi+=15;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:大刀\n");
						  wuqigeshu[3]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家弓弩手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家弓弩手对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对皇家弓弩手造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("皇家弓弩手在你面前不堪一击,你获得了8点经验,15枚金币\n");
						nidejingyan+=8;
						nidejinbi+=15;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:大刀\n");
						  wuqigeshu[3]++;
					   }	
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家弓弩手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家弓弩手对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家弓弩手在你面前不堪一击,你获得了8点经验,15枚金币\n");
						nidejingyan+=8;
						nidejinbi+=15;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:大刀\n");
						  wuqigeshu[3]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		
		else
		if(y==5&&renwudengji>2)
		{
			printf("你遇到了皇家炮手\n");

			int gs=guaiwushuxing[5][1],gf=guaiwushuxing[5][2],gg=guaiwushuxing[5][3],gx=guaiwushuxing[5][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家炮手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家炮手对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家炮手在你面前不堪一击,你获得了8点经验,15枚金币\n");
						nidejingyan+=8;
						nidejinbi+=15;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:AK47\n");
						  wuqigeshu[5]++;
					   }	
					   else
					   if(r%3==0)
					   {
					   	printf("掉落物品:98K\n");
						   wuqigeshu[6]++; 
					   }
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家炮手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家炮手对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对皇家炮手造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("皇家炮手在你面前不堪一击,你获得了8点经验,20枚金币\n");
						nidejingyan+=8;
						nidejinbi+=20;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:AK47\n");
						  wuqigeshu[5]++;
					   }	
					   else
					   if(r%3==0)
					   {
					   	printf("掉落物品:98K\n");
						   wuqigeshu[6]++; 
					   }
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家炮手对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家炮手对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家炮手在你面前不堪一击,你获得了8点经验,20枚金币\n");
						nidejingyan+=8;
						nidejinbi+=20;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:AK47\n");
						  wuqigeshu[5]++;
					   }	
					   else
					   if(r%3==0)
					   {
					   	printf("掉落物品:98K\n");
						   wuqigeshu[6]++; 
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
	}
		}
		
		if(renwudengji>=5)
		{
			printf("你遇到了国王原型\n");
			int gs=guaiwushuxing[6][1],gf=guaiwushuxing[6][2],gg=guaiwushuxing[6][3],gx=guaiwushuxing[6][4];
			
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("国王原型对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("国王原型对你造成了1点伤害\n");
					  } 
					else
					{
						printf("国王原型在你面前不堪一击,你获得了20点经验,15枚金币\n");
						nidejingyan+=20;
						nidejinbi+=15;
						geshu++;
						jingyanpanduan();

					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("国王原型对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("国王原型对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对国王原型造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("国王原型在你面前不堪一击,你获得了20点经验,25枚金币\n");
						nidejingyan+=20;
						nidejinbi+=25;
						geshu++;
						jingyanpanduan();
						
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("国王原型对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("国王原型对你造成了1点伤害\n");
					  } 
					else
					{
						printf("国王原型在你面前不堪一击,你获得了20点经验,25枚金币\n");
						nidejingyan+=20;
						nidejinbi+=25;
						geshu++;
						jingyanpanduan();
	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		else
		printf("这里安全\n");
		return;
	}


    case 3:
	{
		int y=rand()%8;
		if(y==3||y==0)
		{
			printf("你遇到了皇家骑士\n");
		
			int gs=guaiwushuxing[7][1],gf=guaiwushuxing[7][2],gg=guaiwushuxing[7][3],gx=guaiwushuxing[7][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				
				case 1:
				{
					
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue=nidexue-gg+nidefangyu;
					    printf("皇家骑士对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家骑士对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家骑士在你面前不堪一击,你获得了15点经验,30枚金币\n");
						nidejingyan+=15;
						nidejinbi+=30;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战甲\n");
						  wuqigeshu[2]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家骑士对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家骑士对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对皇家骑士造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("皇家骑士在你面前不堪一击,你获得了15点经验,30枚金币\n");
						nidejingyan+=15;
						nidejinbi+=30;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战甲\n");
						  wuqigeshu[2]++;
					   }	
					 } 
					break;
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("皇家骑士对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("皇家骑士对你造成了1点伤害\n");
					  } 
					else
					{
						printf("皇家骑士在你面前不堪一击,你获得了15点经验,30枚金币\n");
						nidejingyan+=15;
						nidejinbi+=30;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:战甲\n");
						  wuqigeshu[2]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		      }
			}
		}
		}
		else
	    if(y==2)
		{
			
			printf("你遇到了石巨人\n");
			int gs=guaiwushuxing[8][1],gf=guaiwushuxing[8][2],gg=guaiwushuxing[8][3],gx=guaiwushuxing[8][4];
		
		
			while(gx>0&&nidexue>0)
			{
					printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("石巨人对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("石巨人对你造成了1点伤害\n");
					  } 
					else
					{
						printf("石巨人在你面前不堪一击,你获得了15点经验,52枚金币\n");
						nidejingyan+=15;
						nidejinbi+=52;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:日月巨斧\n");
						  wuqigeshu[7]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("石巨人对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("石巨人对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对石巨人造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("石巨人在你面前不堪一击,你获得了15点经验,52枚金币\n");
						nidejingyan+=15;
						nidejinbi+=52;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:日月巨斧\n");
						  wuqigeshu[7]++;
					   }	
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("石巨人对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("石巨人对你造成了1点伤害\n");
					  } 
					else
					{
						printf("石巨人在你面前不堪一击,你获得了15点经验,52枚金币\n");
						nidejingyan+=15;
						nidejinbi+=52;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:日月巨斧\n");
						  wuqigeshu[7]++;
					   }	
					 } 
					 if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		}
			}
		}
		
		else
		if(y==1&&renwudengji>12)
		{
			printf("你遇到了爆破黑鼠\n");
			int gs=guaiwushuxing[9][1],gf=guaiwushuxing[9][2],gg=guaiwushuxing[9][3],gx=guaiwushuxing[9][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("爆破黑鼠对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("爆破黑鼠对你造成了1点伤害\n");
					  } 
					else
					{
						printf("爆破黑鼠在你面前不堪一击,你获得了18点经验,52枚金币\n");
						nidejingyan+=18;
						nidejinbi+=52;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:日月巨斧\n");
						  wuqigeshu[7]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("爆破黑鼠对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("爆破黑鼠对你造成了1点伤害\n");
					  } 
					if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对爆破黑鼠造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("爆破黑鼠在你面前不堪一击,你获得了18点经验,52枚金币\n");
						nidejingyan+=18;
						nidejinbi+=52;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:日月巨斧\n");
						  wuqigeshu[7]++;
					   }	
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("爆破黑鼠对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("爆破黑鼠对你造成了1点伤害\n");
					  } 
					else
					{
						printf("爆破黑鼠在你面前不堪一击,你获得了80点经验,120枚金币\n");
						nidejingyan+=80;
						nidejinbi+=120;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:日月巨斧\n");
						  wuqigeshu[7]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		   } 
			}
		}
		else
		if(y==4&&renwudengji>12)
		{
			printf("你遇到了虎王\n");
			printf("虎王:厉害,王子,能打到这儿。不错错\n");
			printf("虎王:但你需要经过我的考验!!来吧王子,我做好准备了!\n");
			int gs=guaiwushuxing[10][1],gf=guaiwushuxing[10][2],gg=guaiwushuxing[10][3],gx=guaiwushuxing[10][4];
			while(gx>0&&nidexue>0)
			{
			printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("虎王对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("虎王对你造成了1点伤害\n");
					  } 
					else
					{
						printf("虎王:厉害王子\n我……要不……送你一个王者战甲~\n你获得了50点经验,150枚金币\n");
						nidejingyan+=50;
						nidejinbi+=150;
						jingyanpanduan();

						  printf("掉落物品:王者战甲\n");
						  wuqigeshu[8]++;	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("虎王对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("虎王对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对虎王造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("虎王:厉害王子\n我……要不……送你一个王者战甲~\n你获得了50点经验,150枚金币\n");
						nidejingyan+=50;
						nidejinbi+=150;
						jingyanpanduan();

						  printf("掉落物品:王者战甲\n");
						  wuqigeshu[8]++;	
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("虎王对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("虎王对你造成了1点伤害\n");
					  } 
					else
					{
					printf("虎王:厉害王子\n我……要不……送你一个王者战甲~\n你获得了50点经验,150枚金币\n");
						nidejingyan+=50;
						nidejinbi+=150;
						jingyanpanduan();

						  printf("掉落物品:王者战甲\n");
						  wuqigeshu[8]++;		
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		
		else
		if(y==5&&renwudengji>12)
		{
			printf("你遇到了森林公主\n");

			int gs=guaiwushuxing[11][1],gf=guaiwushuxing[11][2],gg=guaiwushuxing[11][3],gx=guaiwushuxing[11][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("森林公主对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("森林公主对你造成了1点伤害\n");
					  } 
					else
					{
						printf("森林公主在你面前不堪一击,你获得了28点经验,50枚金币\n");
						nidejingyan+=28;
						nidejinbi+=50;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:AK47\n");
						  wuqigeshu[5]++;
					   }	
					   else
					   if(r%3==0)
					   {
					   	printf("掉落物品:98K\n");
						   wuqigeshu[6]++; 
					   }
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("森林公主对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("森林公主对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对森林公主造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
							printf("森林公主在你面前不堪一击,你获得了28点经验,50枚金币\n");
						nidejingyan+=28;
						nidejinbi+=50;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:AK47\n");
						  wuqigeshu[5]++;
					   }	
					   else
					   if(r%3==0)
					   {
					   	printf("掉落物品:98K\n");
						   wuqigeshu[6]++; 
					   }
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("森林公主对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("森林公主对你造成了1点伤害\n");
					  } 
					else
					{
							printf("森林公主在你面前不堪一击,你获得了28点经验,50枚金币\n");
						nidejingyan+=28;
						nidejinbi+=50;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:AK47\n");
						  wuqigeshu[5]++;
					   }	
					   else
					   if(r%3==0)
					   {
					   	printf("掉落物品:98K\n");
						   wuqigeshu[6]++; 
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
	}
		}
		
		else
		if(y==7&&renwudengji>=15)
		{
			printf("你遇到了唐尼·麟and婕·麟\n");
			printf("你:嘿,朋友,你们也在这儿啊!\n");
			printf("唐尼·麟and婕·麟:……\n");
			printf("他们两看起来怪怪的!!\n"); 
			int gs=guaiwushuxing[12][1],gf=guaiwushuxing[12][2],gg=guaiwushuxing[12][3],gx=guaiwushuxing[12][4];
			
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("唐尼·麟and婕·麟对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("唐尼·麟and婕·麟对你造成了1点伤害\n");
					  } 
					else
					{
						printf("唐尼·麟and婕·麟在你面前不堪一击,你获得了80点经验,150枚金币\n");
						printf("你:你们怎么了?\n");
						printf("唐尼·麟and婕·麟:快走,不行了&……\n"); 
						nidejingyan+=80;
						nidejinbi+=150;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:极月布鞋\n");
						  wuqigeshu[4]++;
					   }	


					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=50;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("唐尼·麟and婕·麟对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("唐尼·麟and婕·麟对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对唐尼·麟and婕·麟造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("唐尼·麟and婕·麟在你面前不堪一击,你获得了80点经验,150枚金币\n");
						printf("你:你们怎么了?\n");
						printf("唐尼·麟and婕·麟:快走,不行了&……\n"); 
						nidejingyan+=80;
						nidejinbi+=150;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:极月布鞋\n");
						  wuqigeshu[4]++;
					   }	

						
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("唐尼·麟and婕·麟对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("唐尼·麟and婕·麟对你造成了1点伤害\n");
					  } 
					else
					{
						printf("唐尼·麟and婕·麟在你面前不堪一击,你获得了80点经验,150枚金币\n");
						printf("你:你们怎么了?\n");
						printf("唐尼·麟and婕·麟:快走,不行了&……\n"); 
						nidejingyan+=80;
						nidejinbi+=150;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:极月布鞋\n");
						  wuqigeshu[4]++;
					   }	

	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		else 
		if(renwudengji>=20)
		{
			printf("你遇到了树精\n");
			printf("你:森林之王,指引我找到国王吧\n");
			printf("树精:那要看你实力了\n");
			printf("……\n");
			int gs=guaiwushuxing[13][1],gf=guaiwushuxing[13][2],gg=guaiwushuxing[13][3],gx=guaiwushuxing[13][4];
			
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("树精对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("树精对你造成了1点伤害\n");
					  } 
					else
					{
						printf("树精在你面前不堪一击,你获得了180点经验,250枚金币\n");
						printf("树精:厉害,国王就在天堂!去吧,王子\n"); 
						nidejingyan+=180;
						nidejinbi+=250;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:霸者重装\n");
						  wuqigeshu[9]++;
					   }	


					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("树精对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("树精对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对树精造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("树精在你面前不堪一击,你获得了180点经验,250枚金币\n");
						printf("树精:厉害,国王就在天堂!去吧,王子\n"); 
						nidejingyan+=180;
						nidejinbi+=250;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:霸者重装\n");
						  wuqigeshu[9]++;
					   }	

						
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("树精对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("树精对你造成了1点伤害\n");
					  } 
					else
					{
						printf("树精在你面前不堪一击,你获得了180点经验,250枚金币\n");
						printf("树精:厉害,国王就在天堂!去吧,王子\n"); 
						nidejingyan+=180;
						nidejinbi+=250;
						geshu++;
						jingyanpanduan();
						int r=rand();
						if(r%2==0)
						{
						  printf("掉落物品:霸者重装\n");
						  wuqigeshu[9]++;
					   }	
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		else
		printf("这里安全\n");
		return;
	 }
     
     
     
     case 4:
	{
		int y=rand()%6;
		if(y==3||y==0)
		{
			printf("你遇到了风神\n");
		
			int gs=guaiwushuxing[14][1],gf=guaiwushuxing[14][2],gg=guaiwushuxing[14][3],gx=guaiwushuxing[14][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				
				case 1:
				{
					
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue=nidexue-gg+nidefangyu;
					    printf("风神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("风神对你造成了1点伤害\n");
					  } 
					else
					{
						printf("风神在你面前不堪一击,你获得了300点经验,1000枚金币\n");
						nidejingyan+=300;
						nidejinbi+=1000;
						jingyanpanduan();
						geshu++;
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("风神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("风神对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对风神造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("风神在你面前不堪一击,你获得了300点经验,1000枚金币\n");
						nidejingyan+=300;
						nidejinbi+=1000;
						jingyanpanduan();
						geshu++;
					 } 
					break;
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("风神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("风神对你造成了1点伤害\n");
					  } 
					else
					{
						printf("风神在你面前不堪一击,你获得了300点经验,1000枚金币\n");
						nidejingyan+=300;
						nidejinbi+=1000;
						geshu++;
						jingyanpanduan();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		      }
			}
		}
		}
		else
	    if(y==2)
		{
			
			printf("你遇到了宙斯\n");
			int gs=guaiwushuxing[15][1],gf=guaiwushuxing[15][2],gg=guaiwushuxing[15][3],gx=guaiwushuxing[15][4];
		
		
			while(gx>0&&nidexue>0)
			{
					printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("宙斯对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("宙斯对你造成了1点伤害");
					  } 
					else
					{
						printf("宙斯在你面前不堪一击,你获得了250点经验,1200枚金币\n");
						nidejingyan+=250;
						nidejinbi+=1200;
						geshu++;
						jingyanpanduan();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("宙斯对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("宙斯对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对宙斯造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("宙斯在你面前不堪一击,你获得了250点经验,1200枚金币\n");
						nidejingyan+=250;
						nidejinbi+=1200;
						geshu++;
						jingyanpanduan();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("宙斯对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("宙斯对你造成了1点伤害\n");
					  } 
					else
					{
						printf("宙斯在你面前不堪一击,你获得了250点经验,1200枚金币\n");
						nidejingyan+=250;
						nidejinbi+=1200;
						geshu++;
						jingyanpanduan();
					 } 
					 if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		}
			}
		}
		
		else
		if(y==1&&renwudengji>22)
		{
			printf("你遇到了齐天大圣\n");
			int gs=guaiwushuxing[16][1],gf=guaiwushuxing[16][2],gg=guaiwushuxing[16][3],gx=guaiwushuxing[16][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("齐天大圣对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("齐天大圣对你造成了1点伤害\n");
					  } 
					else
					{
						printf("齐天大圣在你面前不堪一击,你获得了500点经验,1200枚金币\n");
						nidejingyan+=500;
						nidejinbi+=1200;
						geshu++;
						jingyanpanduan();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("齐天大圣对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("齐天大圣对你造成了1点伤害\n");
					  } 
					if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对齐天大圣造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("齐天大圣在你面前不堪一击,你获得了500点经验,1200枚金币\n");
						nidejingyan+=500;
						nidejinbi+=1200;
						geshu++;
						jingyanpanduan();
						
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("齐天大圣对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("齐天大圣对你造成了1点伤害\n");
					  } 
					else
					{
						printf("齐天大圣在你面前不堪一击,你获得了500点经验,1200枚金币\n");
						nidejingyan+=500;
						nidejinbi+=1200;
						geshu++;
						jingyanpanduan();
						
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		   } 
			}
		}
		else
		if(y==4&&renwudengji>22)
		{
			printf("你遇到了如来佛祖\n");
			int gs=guaiwushuxing[17][1],gf=guaiwushuxing[17][2],gg=guaiwushuxing[17][3],gx=guaiwushuxing[17][4];
			while(gx>0&&nidexue>0)
			{
			printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("如来佛祖对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("如来佛祖对你造成了1点伤害\n");
					  } 
					else
					{
						printf("如来佛祖在你面前不堪一击,你获得了800点经验,1500枚金币\n");
						nidejingyan+=800;
						nidejinbi+=1500;
						geshu++;
						jingyanpanduan();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("如来佛祖对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("如来佛祖对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对如来佛祖造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("如来佛祖在你面前不堪一击,你获得了800点经验,1500枚金币\n");
						nidejingyan+=800;
						nidejinbi+=1500;
						geshu++;
						jingyanpanduan();
			
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("如来佛祖对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("如来佛祖对你造成了1点伤害\n");
					  } 
					else
					{
						printf("如来佛祖在你面前不堪一击,你获得了800点经验,1500枚金币\n");
						nidejingyan+=800;
						nidejinbi+=1500;
						geshu++; 
						jingyanpanduan();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		
		else
		if(renwudengji>=25)
		{
			printf("你遇到了国王变身\n");

			int gs=guaiwushuxing[18][1],gf=guaiwushuxing[18][2],gg=guaiwushuxing[18][3],gx=guaiwushuxing[18][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("国王变身对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("国王变身对你造成了1点伤害\n");
					  } 
					else
					{
						printf("国王变身在你面前不堪一击,你获得了1000点经验,1500枚金币\n");
						printf("恭喜你,打败了boss,快去5号大陆吧!\n");
						nidejingyan+=1000;
						nidejinbi+=1500;
						geshu++; 
						jingyanpanduan();
						int r=rand();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("国王变身对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("国王变身对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对国王变身造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("国王变身在你面前不堪一击,你获得了1000点经验,1500枚金币\n");
						printf("恭喜你,打败了boss,快去5号大陆吧!\n") ;
						nidejingyan+=1000;
						nidejinbi+=1500;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("国王变身对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("国王变身对你造成了1点伤害\n");
					  } 
					else
					{
					printf("国王变身在你面前不堪一击,你获得了1000点经验,1500枚金币\n");
						printf("恭喜你,打败了boss,快去5号大陆吧!\n") ;
						nidejingyan+=1000;
						nidejinbi+=1500;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
	    }
		}
		else
		printf("这里安全\n");
		return;
	 }


          case 5:
	{
		int y=rand()%6;
		if(y==3||y==0)
		{
			printf("你遇到了黑化熊力天\n");
		    printf("你怎么了!!他看上去也怪怪的!!\n"); 
			int gs=guaiwushuxing[19][1],gf=guaiwushuxing[19][2],gg=guaiwushuxing[19][3],gx=guaiwushuxing[19][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				
				case 1:
				{
					
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue=nidexue-gg+nidefangyu;
					    printf("黑化熊力天对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化熊力天对你造成了1点伤害\n");
					  } 
					else
					{
						printf("黑化熊力天在你面前不堪一击,你获得了3000点经验,10000枚金币\n");
						nidejingyan+=3000;
						nidejinbi+=10000;
						geshu++;
						jingyanpanduan();
						
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化熊力天对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化熊力天对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对黑化熊力天造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("黑化熊力天在你面前不堪一击,你获得了3000点经验,10000枚金币\n");
						nidejingyan+=3000;
						nidejinbi+=10000;
						geshu++;
						jingyanpanduan();
						
					 } 
					break;
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化熊力天对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化熊力天对你造成了1点伤害\n");
					  } 
					else
					{
						printf("黑化熊力天在你面前不堪一击,你获得了3000点经验,10000枚金币\n");
						nidejingyan+=3000;
						nidejinbi+=10000;
						geshu++;
						jingyanpanduan();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	  {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		      }
			}
		}
		}
		else
	    if(y==2)
		{
			
			printf("你遇到了黑化极月鼠\n");
			printf("怎么你也?"); 
			int gs=guaiwushuxing[20][1],gf=guaiwushuxing[20][2],gg=guaiwushuxing[20][3],gx=guaiwushuxing[20][4];
		
		
			while(gx>0&&nidexue>0)
			{
					printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化极月鼠对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化极月鼠对你造成了1点伤害");
					  } 
					else
					{
						printf("黑化极月鼠在你面前不堪一击,你获得了2500点经验,12000枚金币\n");
						nidejingyan+=2500;
						nidejinbi+=12000;
						geshu++;
						jingyanpanduan();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化极月鼠对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化极月鼠对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对黑化极月鼠造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("黑化极月鼠在你面前不堪一击,你获得了2500点经验,12000枚金币\n");
						nidejingyan+=2500;
						nidejinbi+=12000;
						geshu++;
						jingyanpanduan();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化极月鼠对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化极月鼠对你造成了1点伤害\n");
					  } 
					else
					{
						printf("黑化极月鼠在你面前不堪一击,你获得了2500点经验,12000枚金币\n");
						nidejingyan+=2500;
						nidejinbi+=12000;
						geshu++;
						jingyanpanduan();
					 } 
					 if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			
		}
			}
		}
		
		else
		if(y==1&&renwudengji>28)
		{
			printf("你遇到了黑化猫师\n");
			printf("师傅,这里发生了什么》");
			int gs=guaiwushuxing[21][1],gf=guaiwushuxing[21][2],gg=guaiwushuxing[21][3],gx=guaiwushuxing[21][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化猫师对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化猫师对你造成了1点伤害\n");
					  } 
					else
					{
						printf("黑化猫师在你面前不堪一击,你获得了5000点经验,12000枚金币\n");
						printf("是你,徒儿!!!你走以后,元素神,这个宰相,乘着大王生病,控制了整个猫国!!\n");
						printf("元素神?这个坏蛋,我要让他付出代价");
						printf("小心,他十分强!\n"); 
						nidejingyan+=5000;
						nidejinbi+=12000;
						geshu++;
						jingyanpanduan();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化猫师对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化猫师对你造成了1点伤害\n");
					  } 
					if(nidexue>0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对黑化猫师造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("黑化猫师在你面前不堪一击,你获得了5000点经验,12000枚金币\n");
						printf("是你,徒儿!!!你走以后,元素神,这个宰相,乘着大王生病,控制了整个猫国!!\n");
						printf("元素神?这个坏蛋,我要让他付出代价");
						printf("小心,他十分强!\n"); 
						nidejingyan+=5000;
						nidejinbi+=12000;
						geshu++;
						jingyanpanduan();
						
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("黑化猫师对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("黑化猫师对你造成了1点伤害\n");
					  } 
					else
					{
						printf("黑化猫师在你面前不堪一击,你获得了5000点经验,12000枚金币\n");
						printf("是你,徒儿!!!你走以后,元素神,这个宰相,乘着大王生病,控制了整个猫国!!\n");
						printf("元素神?这个坏蛋,我要让他付出代价");
						printf("小心,他十分强!\n"); 
						nidejingyan+=5000;
						nidejinbi+=12000;
						geshu++;
						jingyanpanduan();
						
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	  	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	cout<0&&nidexue>0)
			{
			printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("元素神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("元素神对你造成了1点伤害\n");
					  } 
					else
					{
						printf("元素神在你面前不堪一击,你获得了8000点经验,15000枚金币\n");
						nidejingyan+=8000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("元素神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("元素神对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对元素神造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("元素神在你面前不堪一击,你获得了800-点经验,15000枚金币\n");
						nidejingyan+=8000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
			
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("元素神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("元素神对你造成了1点伤害\n");
					  } 
					else
					{
						printf("元素神在你面前不堪一击,你获得了8000点经验,15000枚金币\n");
						nidejingyan+=8000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	 {
			   	 	cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		}
		}
		
		else
		if(renwudengji>=29)
		{
			printf("你遇到了真·元素神\n");
            printf("这才是他的真身体!\n");
            printf("这其中必有原因,元素神忠心不二,一定有幕后黑手!!\n");
			int gs=guaiwushuxing[23][1],gf=guaiwushuxing[23][2],gg=guaiwushuxing[23][3],gx=guaiwushuxing[23][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("真·元素神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("真·元素神对你造成了1点伤害\n");
					  } 
					else
					{
						printf("真·元素神在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						printf("是……主宰作祟,我……我\n"); 
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 nidexue+=100;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		nidexue+=50;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("真·元素神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("真·元素神对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对真·元素神造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("真·元素神在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						printf("是……主宰作祟,我……我\n"); 
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("真·元素神对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("真·元素神对你造成了1点伤害\n");
					  } 
					else
					{
					printf("真·元素神在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						printf("是……主宰作祟,我……我\n"); 
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
	    }
		}
		else
		printf("这里安全\n");
		return;
	 }
     case 6:
	 {
		printf("你即将迎接boss!!!!!!\n");
		printf("准备好了吗?(Y/N)\n");
		char o;
		o=getch();
		if(o=='Y'||o=='y')
		{
			printf("面对你的……是主宰!!\n");
			int gs=guaiwushuxing[24][1],gf=guaiwushuxing[24][2],gg=guaiwushuxing[24][3],gx=guaiwushuxing[24][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("主宰对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("主宰对你造成了1点伤害\n");
					  } 
					else
					{
						printf("主宰在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						printf("OAA:王子,干的不错!\n");
						printf("父皇:哈哈,有这样的儿子,OAA羡慕吗,嗯,我决定把王位继承给你");
						printf("恭喜你完成成就:OAA的帮助,继承父位\n"); 
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("主宰对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("主宰对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对主宰造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("主宰在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						printf("OAA:王子,干的不错!\n");
						printf("父皇:哈哈,有这样的儿子,OAA羡慕吗,嗯,我决定把王位继承给你");
						printf("恭喜你完成成就:OAA的帮助,继承父位"); 
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("主宰对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("主宰对你造成了1点伤害\n");
					  } 
					else
					{
					printf("主宰在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						printf("OAA:王子,干的不错!\n");
						printf("父皇:哈哈,有这样的儿子,OAA羡慕吗,嗯,我决定把王位继承给你");
						printf("恭喜你完成成就:OAA的帮助,继承父位;"); 
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
	    }
		}
			
			
		}
		case 7:
		{
		printf("欢迎来到这儿\n"); 
		printf("准备好了吗?(Y/N)");
		char o;
		o=getch();
		if(o=='Y'||o=='y')
		{
			printf("不会让你白来的\n");
			printf("你要挑战:\n");
			printf("1.OAA\n2.父皇\n3.呵斥之王\n"); 
			int j;
			j=getch();
			if(j=='1')
			{ 
			int gs=guaiwushuxing[25][1],gf=guaiwushuxing[25][2],gg=guaiwushuxing[25][3],gx=guaiwushuxing[25][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("OAA对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("OAA对你造成了1点伤害\n");
					  } 
					else
					{
						printf("OAA在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("OAA对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("OAA对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对OAA造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("OAA在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("OAA对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("OAA对你造成了1点伤害\n");
					  } 
					else
					{
					printf("OAA在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
			}
		  }
	     }
	     
	     	if(j=='2')
			{ 
			int gs=guaiwushuxing[26][1],gf=guaiwushuxing[26][2],gg=guaiwushuxing[26][3],gx=guaiwushuxing[26][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("父皇对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("父皇对你造成了1点伤害\n");
					  } 
					else
					{
						printf("父皇在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("父皇对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("父皇对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对父皇造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("父皇在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("父皇对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("父皇对你造成了1点伤害\n");
					  } 
					else
					{
					printf("父皇在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
		    }
		}
	    }
	    
	    	if(j=='3')
			{ 
			int gs=guaiwushuxing[27][1],gf=guaiwushuxing[27][2],gg=guaiwushuxing[27][3],gx=guaiwushuxing[27][4];
			while(gx>0&&nidexue>0)
			{
				printf("1.进攻    2.逃跑     3.技能     4.装备物品\n");	
			int i;
			cin>>i;
			switch(i)
			{
				case 1:
				{
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("呵斥之王对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("呵斥之王对你造成了1点伤害\n");
					  } 
					else
					{
						printf("呵斥之王在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					break;
				     }
				  else
				  	{ 
					
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("呵斥之王对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("呵斥之王对你造成了1点伤害\n");
					  } 
					if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");nidexue+=1000;
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");nidexue+=1000;
					 		return;
						 }
					 }
					  gx=gx-nidegongji+gf;
					  printf("你对呵斥之王造成了%d的伤害\n",nidegongji-gf);
					if(gx<0)
					{
						printf("呵斥之王在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					break;
				  }
				
			   }
			   case 2:
			   {
			   	printf("逃跑成功\n"); 
				return;
			   }
			   case 3:
			   {
			   	for(int i=1;i<=9;i++)
			   	{
			   		if(nidejineng[i])
			   		 {
						 printf("%d",i);
						 cout<>i;
				if(nidejineng[i])
				{
				
					if(gs0)
					  if(gg>nidefangyu)
					  {
					    nidexue-=gg-nidefangyu;
					    printf("呵斥之王对你造成了%d的伤害\n",gg-nidefangyu);
					  }
					  else 
					  {
					    nidexue-=1;
					    printf("呵斥之王对你造成了1点伤害\n");
					  } 
					else
					{
					printf("呵斥之王在你面前不堪一击,你获得了10000点经验,15000枚金币\n");
						nidejingyan+=10000;
						nidejinbi+=15000;
						geshu++;
						jingyanpanduan();
						int r=rand();
					 } 
					 if(nidexue<0)
					 {
					 	printf("你被打败了,是否叫爸爸复活(Y/N)\n");
					 	char baba;
					 	cin>>baba;
					 	system("cls");
					 	if(baba=='Y')
					 		{
							 printf("复活成功\n");
							 return;
						    }
					 	else
					 	{
					 		printf("你失败,但制作者慷慨复活了你!!\n");
					 		return;
						 }
					 }
					break;
				     }
				}
				break;
			   }
			   case 4:
			   {
			   	for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
			   }
		    }
		}
	    }
	    
		}	
		 } 
		
		
	 }

  }
void shifouqiehuandaoyu()
{
	
		printf("请问你想去哪儿?\n1.猫国\n2.皇城\n3.森林\n4.天庭\n5.奇怪的猫国\n6.神秘的禁地\n7.极乐之地");
		int i;
		cin>>i;
		if(i==nisuozaidedaoyu)
		  printf("你已经在这儿了!!\n");
		else 
		if(i==3&&renwudengji<5)
		 {
		   printf("等级不够无法开启\n");
		   shifouqiehuandaoyu();
	     }
		else
		if(i==4&&renwudengji<10)
		  {
		   printf("等级不够无法开启\n");
		   shifouqiehuandaoyu();
	     }
		else
		if(i==5&&renwudengji<20)
		   {
		   printf("等级不够无法开启\n");
		   shifouqiehuandaoyu();
	     }
		else
		if(i==6&&renwudengji<30)
		   {
		   printf("等级不够无法开启\n");
		   shifouqiehuandaoyu();
	     }
	     else
	     if(i==7&&renwudengji<50)
	     {
	     	printf("等级不够无法开启\n");
		   shifouqiehuandaoyu();
		 }
		else
		{
			printf("已成功前往\n");
			nisuozaidedaoyu=i;
		} 
}

void daoyu()
{
    printf("\n\n\n你现在所在的岛屿是");
	cout<>k;
	switch(k)
	{
	case 1:{daoyu();zhucaozuo();break;}
	case 2:{gedou();zhucaozuo();break;}
	case 3:{printf("你的攻击:%d\n你的防御:%d\n你的经验:%d\n你的血: %d\n你的等级:%d\n你的金币:%d\n你的速度:%d\n",nidegongji,nidefangyu,nidejingyan,nidexue,renwudengji,nidejinbi,nidesudu);zhucaozuo();break;}
	case 5:
	{
	   for(int i=1;i<=13;i++)
			   	{
			   		cout<>i;
                if(wuqigeshu[i]==0)
                {
                	printf("抱歉,你没有此装备!\n");
				}
				else
				{
					nidesudu+=wuqishuxing[i][1];
					nidefangyu+=wuqishuxing[i][2];
					nidegongji+=wuqishuxing[i][3];
					nidexue+=wuqishuxing[i][4];
					wuqigeshu[i]--;
				}
				break;
	}
	case 4:
	{
		for(int i=1;i<=13;i++)
		{
			cout<>j;
		if(nidejinbi>wuqijiage[j])
		{
			cout<<"你确定吗(Y/N)";
			char o;
			o=getch();
			if(o=='Y'||o=='y')
			{
			   nidejinbi-=wuqijiage[j];
			   cout<<"购买成功!\n";
			   cout<<"你还剩"<=1000)
	   	{
	   		nidejinbi-=1000;
	   		nidexue+=500;
	   		printf("回复成功(按任意键继续");
	   		char c;
	   		c=getch();
	   		zhucaozuo();
	   	}
	   	else
	   	{
	   		printf("你的钱不够(按任意键继续");
	   		char c;
	   		c=getch();
	   	}
	   }	
	   if(w=='2')
	   {
	   	if(nidejinbi>=10000)
	   	{
	   		nidejinbi-=10000;
	   		nidexue+=10000;
	   		printf("回复成功(按任意键继续");
	   		char c;
	   		c=getch();
	   		zhucaozuo();
	   	}
	   	else
	   	{
	   		printf("你的钱不够(按任意键继续");
	   		char c;
	   		c=getch();
	   	}
	   }
	   	if(w=='3')
	   {
	   	if(nidexue>=1000)
	   	{
	   		printf("你不用回复(按任意键继续");
	   		char c;
	   		c=getch();
	   		zhucaozuo();
	   	}
	   	else
	   	if(nidejinbi>=5000)
	   	{
	   		nidejinbi-=5000;
	   		nidexue=1000;
	   		printf("回复成功(按任意键继续");
	   		char c;
	   		c=getch();
	   		zhucaozuo();
	   	}
	   	else
	   	{
	   		printf("你的钱不够(按任意键继续");
	   		char c;
	   		c=getch();
	   	}
	   }	
	   if(w=='4')
	   {
	   	if(nidexue>=10000)
	   	{
	   		printf("你不用回复(按任意键继续");
	   		char c;
	   		c=getch();
	   		zhucaozuo();
	   	}
	   	else
	   	if(nidejinbi>=20000)
	   	{
	   		nidejinbi-=20000;
	   		nidexue=10000;
	   		printf("回复成功(按任意键继续");
	   		char c;
	   		c=getch();
	   		zhucaozuo();
	   	}
	   	else
	   	{
	   		printf("你的钱不够(按任意键继续");
	   		char c;
	   		c=getch();
	   	}
	   }	
	}
	case 8:{cout<<"再见";exit(1);}
    }
    zhucaozuo();
	
}
void xuanrenwu()
{
	system("title game");
    printf("\n这是猫国大陆,国内突然有一股不一样的氛围笼罩了这里\n宰相元素神预料,这里将不再光明,除非干掉国王才会有太平\n而你,是被选中的除去国王的王子!\n\n\n");
	printf("请问你是:\n");
    printf("1.猫天极\n2.炽热之帝\n3.嘴强王者\n4.爆穿红毛手\n5.漆黑之羽\n6.无敌呵斥\n7.虚·真命");
    cin>>jiaosebianhao;
    printf("欢迎你,王子:");
    cout<

原创,未经允许,不得转载!!

你可能感兴趣的:(程序,Butterfly,rain)