#include<iostream>
#include<windows.h>//Sleep();
#include<iomanip>
#include<time.h>
long long d,a,shengming=20,wuzi=4,gonji=1,fangyu=0,xuanze,daguai[3]={0},xiaoguai[3]={0},diren[4],chengjiu[2]={0},jineng[3]={0},flag,n=0,f[4]={0},chonwu=0,chonwujineng,e,xingbie;
long long weidu[3]={0},xiajieguaiwu=0,suijigonji=0,guaiwushengming[6]={0},duanzao;
long long fanhui=0,longgonjijilu,xueliang=200,shanghai,shenqi,xiulian;
long long jiesuo=0,xunzhao,jitan=0,guaishou[3]={0};
long long shengsi=0;
long long sb=0;
using namespace std;
int main()
{
cout<<" 是否下载打怪小游戏"<<endl;
cout<<" 1.是 2.好"<<endl;
cin>>d;
Sleep(200);
system("cls");
for(int i=1;i<=30;i++){
cout<<"<% "<<i<<" >";
Sleep(1);
system("cls");
}
cout<<"<% 30 >";
Sleep(1000);
system("cls");
cout<<"<% 80 >";
Sleep(1000);
system("cls");
for(int i=81;i<=100;i+=2){
cout<<"<% "<<i<<" >";
Sleep(5);
system("cls");
}
cout<<"<% 100 >";
Sleep(1000);
system("cls");
cout<<"已完成";
Sleep(1000);
system("cls");
cout<<" 打";
Sleep(500);
cout<<"怪";
Sleep(500);
cout<<"小";
Sleep(500);
cout<<"游";
Sleep(500);
cout<<"戏"<<endl;
Sleep(500);
cout<<" ---阴阳分两级";
Sleep(1000);
s:
system("cls");
cout<<" 打怪小游戏----欧耶"<<endl;
cout<<"⒈开始游戏 ⒉打野"<<endl;
cout<<"⒊技能 ⒋商店"<<endl;
cout<<"⒌PK(前期不建议进入) ⒍成就"<<endl;
cout<<"⒎宠物 ⒏神器商店"<<endl;
cout<<"⒐下界 ⒑末地"<<endl;
cout<<"⒒恶劣之地 ⒓退出游戏 "<<endl;
cout<<"⒔查看状态 ⒕游戏信息"<<endl;
cout<<" ⒖神.外挂"<<endl<<endl;
cout<<"输入方式:按键再按ENTER"<<endl;
cin>>xuanze;
if(xuanze==1)goto a;
else if(xuanze==2)goto b;
else if(xuanze==3)goto c;
else if(xuanze==4)goto d;
else if(xuanze==5)goto e;
else if(xuanze==6)goto f;
else if(xuanze==7)goto g;
else if(xuanze==8)goto h;
else if(xuanze==9)goto ss;
else if(xuanze==10)goto sss;
else if(xuanze==11)goto ssss;
else if(xuanze==12){
system("cls");
return 0;
}
else if(xuanze==13)goto i;
else if(xuanze==14)goto k;
else if(xuanze==15)goto waigua;
else{
cout<<"请不要乱选";
goto s;
}
a:
system("cls");
for(int i=1;i<=3;i++){
cout<<"请稍等.";
Sleep(500);
system("cls");
cout<<"请稍等..";
Sleep(500);
system("cls");
cout<<"请稍等...";
Sleep(500);
system("cls");
}
p:
system("cls");
cout<<" ⒈男♂ ⒉女♀ ⒊人妖㊣ ⒋大白菜鸡"<<endl;
cin>>xingbie;
if(xingbie>=5){
system("cls");
cout<<"请不要乱选"<<endl;
Sleep(1000);
goto p;
}
goto s;
b:
system("cls");
cout<<"寻找中...";
Sleep(700);
system("cls");
srand(time(0));
a=rand()%3;
if(a==0||a==1){
system("cls");
xiaoguai[1]=8;
xiaoguai[2]=3;
cout<<"你遇到了小怪物"<<endl;
cout<<"[攻击:3 生命:8]"<<endl;
flag==0;
if(jineng[1]>=1){
cout<<"是否启动断网法术"<<endl<<"1:是 2:否";
cin>>xuanze;
if(xuanze==1){
cout<<"已启动"<<endl;
jineng[1]--;
fangyu-=2;
system("cls");
goto x;
}
else{
goto q;
}
}
if(jineng[2]>=1){
cout<<"是否启动狂暴法术"<<endl<<"1:是 2:否";
cin>>xuanze;
if(xuanze==1){
cout<<"已启动"<<endl;
gonji+=4;
goto q;
}
else{
goto q;
}
}
if(chonwu==1){
srand(time(0));
chonwujineng=rand()%3+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"龙威千里已启动(宠物技能)"<<endl;
xiaoguai[1]-=7;
xiaoguai[2]-=3;
Sleep(1000);
}
}
else if(chonwu==2){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"雷霆万钧已启动(宠物技能)"<<endl;
xiaoguai[1]-=5;
xiaoguai[2]-=2;
Sleep(1000);
}
}
else if(chonwu==3){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"吞噬万物已启动(宠物技能)"<<endl;
xiaoguai[1]-=4;
xiaoguai[2]-=2;
Sleep(1000);
}
}
q:
cout<<"1:攻击 2:逃跑"<<endl;
cin>>xuanze;
if(xuanze==2){
if(flag){
gonji-=6;
goto s;
}
else goto s;
}
else{
cout<<"你选择了攻击"<<endl;
cout<<"你打掉了小怪物"<<gonji<<"点血量,小怪物还剩";
xiaoguai[1]-=gonji;
cout<<xiaoguai[1]<<"点血量"<<endl;
cout<<"小怪物打掉了你"<<xiaoguai[2]-fangyu<<"点血量"<<endl;
shengming-=xiaoguai[2]-fangyu;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
Sleep(1000);
if(shengming>0&&xiaoguai[1]>0)goto q;
else if(shengming<=0){
goto nsl;
}
else {
x:
system("cls");
cout<<"你打败了小怪物"<<endl;
cout<<"物资币+4"<<endl;
wuzi+=4;
chengjiu[2]++;
Sleep(1000);
goto s;
}
}
}
else{
daguai[1]=30;
daguai[2]=5;
cout<<"你遇到了大怪物"<<endl;
cout<<"[攻击:5 生命:30]"<<endl;
flag==0;
if(jineng[1]>0){
cout<<"是否启动断网法术"<<endl<<"1:是 2:否";
cin>>xuanze;
if(xuanze==1){
cout<<"已启动"<<endl;
jineng[1]--;
fangyu-=2;
system("cls");
goto y;
}
else{
system("cls");
}
}
if(jineng[2]>0){
cout<<"是否启动狂暴法术"<<endl<<"1:是 2:否";
cin>>xuanze;
if(xuanze==1){
cout<<"已启动"<<endl;
gonji+=4;
flag==1;
jineng[2]--;
system("cls");
}
else{
system("cls");
}
}
if(chonwu==1){
srand(time(0));
chonwujineng=rand()%3+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"龙威千里已启动(宠物技能)"<<endl;
daguai[1]-=7;
daguai[2]-=3;
Sleep(1000);
}
}
else if(chonwu==2){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"雷霆万钧已启动(宠物技能)"<<endl;
daguai[1]-=5;
daguai[2]-=2;
Sleep(1000);
}
}
else if(chonwu==3){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"吞噬万物已启动(宠物技能)"<<endl;
daguai[1]-=4;
daguai[2]-=2;
Sleep(1000);
}
}
w:
cout<<"1:攻击 2:逃跑"<<endl;
cin>>xuanze;
if(xuanze==1){
cout<<"你选择了攻击"<<endl;
cout<<"你打掉了大怪物"<<gonji<<"点血量,大怪物还剩";
daguai[1]-=gonji;
cout<<daguai[1]<<"点血量"<<endl;
cout<<"大怪物打掉了你"<<daguai[2]-fangyu<<"点血量"<<endl;
shengming-=daguai[2]-fangyu;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
Sleep(1000);
if(shengming>0&&daguai[1]>0)
goto w;
else if(shengming<=0){
goto nsl;
}
else{
y:
system("cls");
cout<<"你打败了大怪物"<<endl;
cout<<"物资币+10"<<endl;
wuzi+=10;
chengjiu[2]++;
Sleep(1000);
goto s;
}
}
else{
if(flag){
gonji-=6;
goto s;
}
else
goto s;
}
c:
system("cls");
cout<<" ¤㊣技能区㊣¤" <<endl;
cout<<" 物资币:"<<wuzi<<endl;
cout<<"1:断网法术(断掉对方的网让你胜利,用后防御-2,4元一个)拥有"<<jineng[1]<<"个"<<endl;
cout<<"2:狂暴法术(使用后让你的攻击+8,使用后伤害-4,4元一个) 拥有"<<jineng[2]<<"个"<<endl;
cout<<"3:退出"<<endl;
cin>>xuanze;
if(xuanze==1){
if(wuzi>=4){
system("cls");
cout<<"购买成功"<<endl;
jineng[1]++;
Sleep(1000);
wuzi-=4;
goto c;
}
else{
system("cls");
cout<<"钱不够了"<<endl;
Sleep(1000);
goto c;
}
}
else if(xuanze==2){
if(wuzi>=4){
system("cls");
cout<<"购买成功"<<endl;
jineng[2]++;
Sleep(1000);
wuzi-=4;
goto c;
}
else{
system("cls");
cout<<"钱不够了"<<endl;
Sleep(1000);
goto c;
}
}
else if(xuanze==3)
goto s;
else
goto c;
d:
system("cls");
cout<<" │商店│"<<endl;
cout<<"物资币:"<<wuzi<<endl;
cout<<"当前伤害:"<<gonji<<endl;
cout<<"当前防御:"<<fangyu<<endl;
cout<<"1:木剑(1元)2伤害"<<endl;
cout<<"2:石剑(2元)3伤害"<<endl;
cout<<"3:金剑(3元)4伤害"<<endl;
cout<<"4:铁剑(4元)5伤害"<<endl;
cout<<"5:钻石剑(6元)6伤害"<<endl;
cout<<"6:下界合金剑(8元)8伤害"<<endl;
cout<<"7:皮革盔甲(8元)防御2点伤害"<<endl;
cout<<"8:金盔甲(16元)防御3点伤害"<<endl;
cout<<"9:铁盔甲(32元)防御4点伤害"<<endl;
cout<<"10:钻石盔甲(64元)防御5点伤害"<<endl;
cout<<"11:下界合金盔甲(128元)防御6点伤害"<<endl;
cout<<"12:生命药水(4元)恢复4生命"<<endl;
cout<<"13:退出商店"<<endl;
cout<<"注:只能购买比自己的攻击或防御高的道具"<<endl;
cin>>xuanze;
switch(xuanze)
{
case 1:if(2>gonji&&wuzi>=1){system("cls");cout<<"购买成功";gonji=2;Sleep(1000);wuzi-=1;goto d;}else if(wuzi<1){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(gonji>=2){system("cls");cout<<"请选择更高等级的武器";Sleep(1000);goto d;}
case 2:if(3>gonji&&wuzi>=2){system("cls");cout<<"购买成功";gonji=3;Sleep(1000);wuzi-=2;goto d;}else if(wuzi<2){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(gonji>=3){system("cls");cout<<"请选择更高等级的武器";Sleep(1000);goto d;}
case 3:if(4>gonji&&wuzi>=3){system("cls");cout<<"购买成功";gonji=4;Sleep(1000);wuzi-=3;goto d;}else if(wuzi<3){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(gonji>=4){system("cls");cout<<"请选择更高等级的武器";Sleep(1000);goto d;}
case 4:if(5>gonji&&wuzi>=4){system("cls");cout<<"购买成功";gonji=5;Sleep(1000);wuzi-=4;goto d;}else if(wuzi<4){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(gonji>=5){system("cls");cout<<"请选择更高等级的武器";Sleep(1000);goto d;}
case 5:if(6>gonji&&wuzi>=6){system("cls");cout<<"购买成功";gonji=6;Sleep(1000);wuzi-=6;goto d;}else if(wuzi<6){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(gonji>=6){system("cls");cout<<"请选择更高等级的武器";Sleep(1000);goto d;}
case 6:if(8>gonji&&wuzi>=8){system("cls");cout<<"购买成功";gonji=8;Sleep(1000);wuzi-=8;goto d;}else if(wuzi<8){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(gonji>=8){system("cls");cout<<"请选择更高等级的武器";Sleep(1000);goto d;}
case 7:if(2>fangyu&&wuzi>=8){system("cls");cout<<"购买成功";fangyu=2;Sleep(1000);wuzi-=4;goto d;}else if(wuzi<4){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(fangyu>=2){system("cls");cout<<"请选择更高等级的盔甲";Sleep(1000);goto d;}
case 8:if(3>fangyu&&wuzi>=16){system("cls");cout<<"购买成功";fangyu=3;Sleep(1000);wuzi-=8;goto d;}else if(wuzi<8){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(fangyu>=2){system("cls");cout<<"请选择更高等级的盔甲";Sleep(1000);goto d;}
case 9:if(4>fangyu&&wuzi>=32){system("cls");cout<<"购买成功";fangyu=4;Sleep(1000);wuzi-=12;goto d;}else if(wuzi<12){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(fangyu>=2){system("cls");cout<<"请选择更高等级的盔甲";Sleep(1000);goto d;}
case 10:if(5>fangyu&&wuzi>=64){system("cls");cout<<"购买成功";fangyu=5;Sleep(1000);wuzi-=24;goto d;}else if(wuzi<24){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(fangyu>=2){system("cls");cout<<"请选择更高等级的盔甲";Sleep(1000);goto d;}
case 11:if(6>fangyu&&wuzi>=128){system("cls");cout<<"购买成功";fangyu=6;Sleep(1000);wuzi-=48;goto d;}else if(wuzi<=48){system("cls");cout<<"钱不够了";Sleep(1000);goto d;}else if(fangyu>=2){system("cls");cout<<"请选择更高等级的盔甲";Sleep(1000);goto d;}
case 12:if(wuzi>=4&&wuzi>=4){system("cls");cout<<"已恢复";wuzi-=4;shengming+=4;goto d;}
case 13:goto s;
default:cout<<"请不要乱选";Sleep(1000);goto c;
}
e:
system("cls");
srand(time(0));
diren[1]=rand()%9+1;
srand(time(0));
diren[2]=rand()%6+1;
srand(time(0));
diren[3]=rand()%(20-5+1)+5;
cout<<"匹配中..."<<endl;
Sleep(1000);
system("cls");
cout<<"敌人数据"<<endl;
cout<<"攻击:"<<diren[1]<<endl;
cout<<"防御:"<<diren[2]<<endl;
cout<<"生命:"<<diren[3]<<endl;
Sleep(3000);
cout<<"开始游戏";
system("cls");
Sleep(1000);
flag==0;
if(jineng[1]>0){
cout<<"是否启动断网法术"<<endl<<"1:是 2:否";
cin>>xuanze;
if(xuanze==1){
cout<<"已启动"<<endl;
jineng[1]--;
fangyu-=2;
system("cls");
cout<<"你打败了敌人"<<endl;
cout<<"物资币+3"<<endl;
cout<<"生命+2"<<endl;
chengjiu[1]+=1;
shengming+=2;
Sleep(1000);
goto s;
}
else{
system("cls");
}
}
if(jineng[2]>0){
cout<<"是否启动狂暴法术"<<endl<<"1:是 2:否";
cin>>xuanze;
if(xuanze==1){
cout<<"已启动"<<endl;
gonji+=4;
flag==1;
jineng[2]--;
system("cls");
}
else{
system("cls");
}
}
if(chonwu==1){
srand(time(0));
chonwujineng=rand()%3+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"龙威千里已启动(宠物技能)"<<endl;
diren[1]-=7;
diren[3]-=4;
diren[2]-=4;
Sleep(1000);
}
}
else if(chonwu==2){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"雷霆万钧已启动(宠物技能)"<<endl;
diren[1]-=6;
diren[3]-=3;
diren[2]-=3;
Sleep(1000);
}
}
else if(chonwu==3){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"吞噬万物已启动(宠物技能)"<<endl;
diren[1]-=5;
diren[3]-=3;
diren[2]-=2;
Sleep(1000);
}
}
j:
cout<<"你打掉了敌人"<<gonji-diren[2]<<"点血量,敌人还剩";
diren[3]-=(gonji-diren[2]);
cout<<diren[3]<<"点血量"<<endl;
Sleep(1000);
cout<<"敌人打掉了你"<<diren[1]-fangyu<<"点血量"<<endl;
Sleep(1000);
shengming-=diren[1]-fangyu;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
Sleep(1000);
if(shengming>0&&diren[3]>0)
goto j;
else if(shengming<=0){
goto nsl;
}
else{
system("cls");
cout<<"你打败了敌人"<<endl;
cout<<"物资币+"<<diren[2]*2<<endl;
cout<<"生命+6"<<endl;
chengjiu[1]++;
wuzi+=diren[2]*2;
shengming+=6;
goto s;
}
f:
system("cls");
cout<<" ♂♀成就页 ♀♂"<<endl;
cout<<"胜利大师(杀死敌人10个) 进度:"<<chengjiu[1]<<"/10"<<endl;
cout<<"怪物猎手(杀死怪物10个) 进度:"<<chengjiu[2]<<"/10"<<endl;
cout<<"按4退出"<<endl;
if(chengjiu[1]>=10){
cout<<"胜利大师(杀死敌人10个)已完成 已自动领取"<<endl;
wuzi+=8;
shengming+=10;
chengjiu[2]-=10;
Sleep(1000);
goto f;
}
if(chengjiu[2]>=10){
cout<<"怪物猎手(杀死怪物10个)已完成 已自动领取"<<endl;
wuzi+=8;
shengming+=10;
chengjiu[2]-=10;
Sleep(1000);
goto f;
}
cin>>xuanze;
if(xuanze==4)goto s;
else goto f;
g:
system("cls");
cout<<" ∞∞宠物∞∞"<<endl;
cout<<"物资币:"<<wuzi<<endl;
cout<<"⒈九爪神龙(☆☆☆☆☆)防御+6,攻击+6 (200元),技能:龙威千里"<<endl;
cout<<"⒉灵龙兔(☆☆☆☆) 防御+5,攻击+5 (140元),技能:雷霆万钧"<<endl;
cout<<"⒊祖饕(☆☆☆) 防御+4,攻击+4 (70元), 技能:吞噬万物"<<endl;
cout<<"按4退出"<<endl;
cin>>xuanze;
if(xuanze==1){
if(f[1]==0&&wuzi>=200){system("cls");cout<<"购买成功";gonji+=6;fangyu+=6;f[1]=1;chonwu==1;Sleep(1000);wuzi-=200;goto g;}else if(wuzi<200){system("cls");cout<<"钱不够了";Sleep(1000);goto g;}else if(f[1]=1){system("cls");cout<<"请选择更高等级的宠物";Sleep(1000);goto g;}
}
else if(xuanze==2){
if(f[2]==0&&wuzi>=140){system("cls");cout<<"购买成功";gonji+=5;fangyu+=5;f[2]=1;chonwu==2;Sleep(1000);wuzi-=140;goto g;}else if(wuzi<140){system("cls");cout<<"钱不够了";Sleep(1000);goto g;}else if(f[2]=1){system("cls");cout<<"请选择更高等级的宠物";Sleep(1000);goto g;}
}
else if(xuanze==3){
if(f[1]==0&&wuzi>=70){system("cls");cout<<"购买成功";gonji+=4;fangyu+=4;f[3]=1;chonwu==3;Sleep(1000);wuzi-=70;goto g;}else if(wuzi<70){system("cls");cout<<"钱不够了";Sleep(1000);goto g;}else if(f[3]=1){system("cls");cout<<"请选择更高等级的宠物";Sleep(1000);goto g;}
}
else if(xuanze==4)
goto s;
else
goto g;
i:
system("cls");
cout<<" 状态"<<endl;
cout<<"性别:";
if(xingbie==1)cout<<"男"<<endl;
else if(xingbie==2)cout<<"女"<<endl;
else if(xingbie==3)cout<<"人妖"<<endl;
else if(xingbie==4)cout<<"大白菜鸡"<<endl;
else cout<<"未选择"<<endl;
cout<<"生命:"<<shengming<<endl;
cout<<"物资币:"<<wuzi<<endl;
cout<<"攻击力:"<<gonji<<endl;
cout<<"防御力:"<<fangyu<<endl;
cout<<"宠物:";
if(chonwu==1)
cout<<"九爪神龙(☆☆☆☆☆)"<<endl;
else if(chonwu==2)
cout<<"灵龙兔(☆☆☆☆)"<<endl;
else if(chonwu==3)
cout<<"祖饕(☆☆☆)" <<endl;
else
cout<<"无"<<endl;
cout<<"按1退出"<<endl;
cin>>xuanze;
if(xuanze==1)
goto s;
else
goto i;
}
h:
system("cls");
cout<<" ΨΨ神器商店 ΨΨ"<<endl;
cout<<" 物资币:"<<wuzi<<endl;
cout<<"攻击:"<<gonji<<" 防御:"<<fangyu<<endl;
cout<<"⒈寰宇支配之剑(400元) 1348574伤害"<<endl;
cout<<"⒉无尽盔甲(200元) 防御170点伤害" <<endl;
cout<<"⒊超级煲(50元) 回复40点血量"<<endl;
cout<<"⒋寰宇肉丸(100元) 增加20攻击,限购2次"<<endl;
cout<<"⒌退出"<<endl;
cin>>xuanze;
switch(xuanze)
{
case 1:if(wuzi>=400&&gonji<1348574){system("cls");cout<<"购买成功"<<endl;wuzi-=400;gonji=1348574;Sleep(1000);goto h;}else if(wuzi<400){system("cls");cout<<"钱不够了";Sleep(1000);goto h;}else {system("cls");cout<<"请购买更高级的神器";goto h;}
case 2:if(wuzi>=200&&fangyu<170){system("cls");cout<<"购买成功"<<endl;wuzi-=200;fangyu=170;Sleep(1000);goto h;}else if(wuzi<200){system("cls");cout<<"钱不够了";Sleep(1000);goto h;}else {system("cls");cout<<"请购买更高级的神器";goto h;}
case 3:if(wuzi>=50){system("cls");cout<<"购买成功"<<endl;wuzi-=50;fangyu+=40;Sleep(1000);goto h;}else if(wuzi<50){system("cls");cout<<"钱不够了";Sleep(1000);goto h;}
case 4:if(wuzi>=100&&e<=2){system("cls");cout<<"购买成功"<<endl;wuzi-=100;gonji+=20;Sleep(1000);e++;goto h;}else if(wuzi<100){system("cls");cout<<"钱不够了";Sleep(1000);goto h;}else {system("cls");cout<<"已购满";goto h;}
case 5:goto s;
default:goto h;
}
k:
system("cls");
cout<<"作者:阴阳分两级(弟圣工作室)"<<endl;
cout<<"版本:9.1.0(外挂更新)"<<endl;
cout<<"下次更新内容:无" <<endl;
cout<<"按1退出"<<endl;
cin>>xuanze;
if(xuanze==1)
goto s;
else
goto k;
return 0;
ss:
system("cls");
if(weidu[1]==0){
cout<<"未建造传送门,是否花费10物资币建造并开启?"<<endl;
cout<<" ⒈是 ⒉否"<<endl;
cin>>xuanze;
if(xuanze==1){
if(wuzi>=10){
system("cls");
wuzi-=10;
weidu[1]=1;
cout<<"已建造"<<endl;
Sleep(1000);
goto ss;
}
cout<<"钱不够了"<<endl;
Sleep(1000);
goto s;
}
else
goto s;
}
cout<<" ¤¤◎◎下界◎◎¤¤"<<endl;
cout<<"⒈进入下界堡垒 ⒉返回主世界"<<endl;
cout<<" ⒊锻造装备"<<endl;
cin>>xuanze;
if(xuanze==1)goto aa;
else if(xuanze==2)goto s;
else if(xuanze==3)goto bb;
else goto ss;
aa:
cout<<"寻找怪物中..."<<endl;
Sleep(1000);
srand(time(0));
xiajieguaiwu=rand()%3+1;
if(xiajieguaiwu==1){
system("cls");
srand(time(0));
suijigonji=rand()%(25-9+1)+9;
cout<<" 你遇到了恶魂"<<endl;
cout<<"[攻击:9~25 生命:10]"<<endl;
guaiwushengming[1]=10;
if(chonwu==1){
srand(time(0));
chonwujineng=rand()%3+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"龙威千里已启动(宠物技能)"<<endl;
guaiwushengming[1]-=7;
suijigonji-=3;
Sleep(1000);
}
}
else if(chonwu==2){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"雷霆万钧已启动(宠物技能)"<<endl;
guaiwushengming[1]-=6;
suijigonji-=2;
Sleep(1000);
}
}
else if(chonwu==3){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"吞噬万物已启动(宠物技能)"<<endl;
guaiwushengming[1]-=4;
suijigonji-=2;
Sleep(1000);
}
}
ee:
cout<<"⒈攻击 ⒉逃跑"<<endl;
srand(time(0));
suijigonji=rand()%(25-9+1)+9;
cin>>xuanze;
if(xuanze==1){
Sleep(1000);
cout<<"你选择了攻击"<<endl;
cout<<"你打掉了恶魂"<<gonji<<"点血量"<<endl;
guaiwushengming[1]-=gonji;
cout<<"恶魂还剩"<<guaiwushengming[1]<<"点血量"<<endl;
cout<<"恶魂打掉了你"<<suijigonji<<"点血量"<<endl;
shengming-=suijigonji-fangyu;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
if(shengming>0&&guaiwushengming[1]>0)
goto ee;
else if(shengming<=0){
goto nsl;
}
else{
system("cls");
cout<<"你打败了恶魂"<<endl;
cout<<"物资币+"<<suijigonji*2<<endl;
cout<<"生命+6"<<endl;
chengjiu[1]++;
wuzi+=diren[2]*2;
shengming+=6;
Sleep(1000);
goto ss;
}
}
}
else if(xiajieguaiwu==2){
system("cls");
srand(time(0));
suijigonji=rand()%(10-4+1)+4;
cout<<" 你遇到了凋零骷髅"<<endl;
cout<<"[攻击:4~10 生命:20]"<<endl;
guaiwushengming[2]=20;
if(chonwu==1){
srand(time(0));
chonwujineng=rand()%3+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"龙威千里已启动(宠物技能)"<<endl;
guaiwushengming[2]-=7;
suijigonji-=3;
Sleep(1000);
}
}
else if(chonwu==2){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"雷霆万钧已启动(宠物技能)"<<endl;
guaiwushengming[2]-=6;
suijigonji-=2;
Sleep(1000);
}
}
else if(chonwu==3){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"吞噬万物已启动(宠物技能)"<<endl;
guaiwushengming[2]-=4;
suijigonji-=2;
Sleep(1000);
}
}
tt:
cout<<"⒈攻击 ⒉逃跑"<<endl;
srand(time(0));
suijigonji=rand()%(10-4+1)+4;
cin>>xuanze;
if(xuanze==1){
Sleep(1000);
cout<<"你选择了攻击"<<endl;
cout<<"你打掉了凋零骷髅"<<gonji<<"点血量"<<endl;
guaiwushengming[2]-=gonji;
cout<<"凋零骷髅还剩"<<guaiwushengming[2]<<"点血量"<<endl;
cout<<"凋零骷髅打掉了你"<<suijigonji<<"点血量"<<endl;
shengming-=suijigonji-fangyu;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
if(shengming>0&&guaiwushengming[2]>0)
goto tt;
else if(shengming<=0){
goto nsl;
}
else{
system("cls");
cout<<"你打败了凋零骷髅"<<endl;
cout<<"物资币+"<<suijigonji*2<<endl;
cout<<"生命+6"<<endl;
chengjiu[1]++;
wuzi+=diren[2]*2;
shengming+=6;
Sleep(1000);
goto ss;
}
}
}
else if(xiajieguaiwu==3){
system("cls");
srand(time(0));
suijigonji=rand()%(10-4+1)+4;
cout<<" 你遇到了僵尸猪人"<<endl;
cout<<"[攻击:5~13 生命:20]"<<endl;
guaiwushengming[3]=20;
if(chonwu==1){
srand(time(0));
chonwujineng=rand()%3+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"龙威千里已启动(宠物技能)"<<endl;
guaiwushengming[3]-=7;
suijigonji-=3;
Sleep(1000);
}
}
else if(chonwu==2){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"雷霆万钧已启动(宠物技能)"<<endl;
guaiwushengming[3]-=6;
suijigonji-=2;
Sleep(1000);
}
}
else if(chonwu==3){
srand(time(0));
chonwujineng=rand()%4+1;
if(chonwujineng==1||chonwujineng==2){
cout<<"吞噬万物已启动(宠物技能)"<<endl;
guaiwushengming[3]-=4;
suijigonji-=2;
Sleep(1000);
}
}
uu:
Sleep(1000);
cout<<"⒈攻击 ⒉逃跑"<<endl;
srand(time(0));
suijigonji=rand()%(13-5+1)+5;
cin>>xuanze;
if(xuanze==1){
cout<<"你选择了攻击"<<endl;
cout<<"你打掉了僵尸猪人"<<gonji<<"点血量"<<endl;
guaiwushengming[3]-=gonji;
cout<<"僵尸猪人还剩"<<guaiwushengming[3]<<"点血量"<<endl;
cout<<"僵尸猪人打掉了你"<<suijigonji<<"点血量"<<endl;
shengming-=suijigonji-fangyu;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
if(shengming>0&&guaiwushengming[3]>0)
goto uu;
else if(shengming<=0){
cout<<"你死了";
return 0;
}
else{
system("cls");
cout<<"你打败了僵尸猪人"<<endl;
cout<<"物资币+"<<suijigonji*2<<endl;
cout<<"生命+6"<<endl;
chengjiu[1]++;
wuzi+=diren[2]*2;
shengming+=6;
Sleep(1000);
goto ss;
}
}
}
bb:
system("cls");
cout<<" ⅠⅠ锻造屋ⅠⅠ"<<endl;
cout<<"20元一次,锻造加随机护甲值(1-7)(换新护甲不算)"<<endl;
cout<<"物资币:"<<wuzi<<endl;
cout<<"按1锻造,按2返回下界主页"<<endl;
cin>>xuanze;
if(xuanze==1){
if(wuzi>=20){
system("cls");
srand(time(0));
duanzao=rand()%7+1;
wuzi-=20;
cout<<"锻造中..."<<endl;
Sleep(1000);
system("cls");
cout<<"锻造中."<<endl;
Sleep(1000);
system("cls");
cout<<"锻造中."<<endl;
Sleep(1000);
system("cls");
cout<<"增加了"<<duanzao<<"点防御"<<endl;
Sleep(1000);
goto bb;
}
system("cls");
cout<<"钱不够了"<<endl;
goto bb;
}
else if(xuanze==2)goto ss;
else goto bb;
sss:
system("cls");
cout<<"末地很危险,一旦进入除非打败末影龙就回不去,是否继续?"<<endl;
cout<<"⒈继续 ⒉退出"<<endl;
cin>>xuanze;
if(xuanze==1)goto aaa;
else if(xuanze==2)goto s;
else goto sss;
aaa:
system("cls");
cout<<" 末地"<<endl;
cout<<"⒈打末影龙 ⒉修炼(恢复血量)"<<endl;
if(fanhui==1){
cout<<" ⒊返回主世界"<<endl;
}
else
cout<<endl;
cin>>xuanze;
if(xuanze==1)goto bbb;
else if(xuanze==3&&fanhui==1)goto s;
else if(xuanze==2)goto ccc;
bbb:
system("cls");
cout<<"末影龙"<<endl;
cout<<"[血量:200 攻击:6~15]"<<endl;
xueliang=200;
cout<<"技能:"<<endl;
cout<<"⒈普通攻击 ⒉龙息 ⒊火球"<<endl;
cout<<"三秒后开始对战"<<endl;
Sleep(3000);
lll:
system("cls");
cout<<"你攻击了末影龙"<<endl;
Sleep(750);
cout<<"你打掉了末影龙"<<gonji<<"点血量"<<endl;
xueliang-=gonji;
Sleep(1000);
cout<<"末影龙还剩"<<xueliang<<"点血"<<endl;
Sleep(1000);
cout<<"末影龙发动了";
srand(time(0));
longgonjijilu=rand()%6+1;
if(longgonjijilu==1||longgonjijilu==2||longgonjijilu==3){
cout<<"普通攻击"<<endl;
Sleep(1000);
srand(time(0));
shanghai=rand()%6+1;
cout<<"打掉了你"<<shanghai<<"点血"<<endl;
shengming-=(shanghai-fangyu);
cout<<"你还剩"<<shengming<<"点血"<<endl;
Sleep(1000);
if(shengming>0&&xueliang>0)
goto lll;
else if(shengming<=0&&xueliang>0){
goto nsl;
}
else{
cout<<"你赢了"<<endl;
cout<<"血量+60"<<endl;
cout<<"物资币+70"<<endl;
shengming+=60;
wuzi+=70;
if(shenqi==0){
cout<<"半神器(九星龙渊剑)(60伤害)"<<endl;
shanghai=60;
shenqi=1;
jiesuo=1;
}
fanhui=1;
goto aaa;
}
}
if(longgonjijilu==4||longgonjijilu==5){
cout<<"火球攻击"<<endl;
Sleep(1000);
srand(time(0));
shanghai=rand()%4+7;
cout<<"打掉了你"<<shanghai<<"点血"<<endl;
shengming-=(shanghai-fangyu);
cout<<"你还剩"<<shengming<<"点血"<<endl;
Sleep(1000);
if(shengming>0&&xueliang>0)
goto lll;
else if(shengming<=0&&xueliang>0){
goto nsl;
}
else{
cout<<"你赢了"<<endl;
cout<<"血量+60"<<endl;
cout<<"物资币+70"<<endl;
shengming+=60;
wuzi+=70;
if(shenqi==0){
cout<<"半神器(九星龙渊剑)(60伤害)"<<endl;
shanghai=60;
shenqi=1;
jiesuo=1;
}
fanhui=1;
goto aaa;
}
}
if(longgonjijilu==6){
cout<<"龙息攻击"<<endl;
Sleep(1000);
srand(time(0));
shanghai=rand()%10+6;
cout<<"打掉了你"<<shanghai<<"点血"<<endl;
shengming-=(shanghai-fangyu);
cout<<"你还剩"<<shengming<<"点血"<<endl;
Sleep(1000);
if(shengming>0&&xueliang>0)
goto lll;
else if(shengming<=0&&xueliang>0){
goto nsl;
}
else{
fanhui=1;
cout<<"你赢了"<<endl;
cout<<"血量+60"<<endl;
cout<<"物资币+70"<<endl;
shengming+=60;
wuzi+=70;
if(shenqi==0){
cout<<"半神器(九星龙渊剑)(60伤害)"<<endl;
shanghai=60;
fanhui=1;
shenqi=1;
jiesuo=1;
goto aaa;
}
fanhui=1;
goto aaa;
}
}
ccc:
system("cls");
cout<<" 修炼"<<endl;
cout<<"10物资币一次,回复3-7血量不等"<<endl;
cout<<"物资币:"<<wuzi<<endl;
cout<<"⒈修炼 ⒉返回"<<endl;
cin>>xuanze;
if(xuanze==1)goto xxx;
else if(xuanze==2)goto sss;
else goto ccc;
xxx:
if(wuzi>=20){
system("cls");
srand(time(0));
xiulian=rand()%4+3;
wuzi-=10;
cout<<"修炼中..."<<endl;
Sleep(1000);
system("cls");
cout<<"修炼中."<<endl;
Sleep(1000);
system("cls");
cout<<"修炼中."<<endl;
Sleep(1000);
system("cls");
cout<<"增加"<<xiulian<<"点生命"<<endl;
Sleep(1000);
goto ccc;
}
else{
system("cls");
cout<<"钱不够了"<<endl;
goto bb;
}
ssss:
system("cls");
if(jiesuo==0){
cout<<"未解锁"<<endl;
Sleep(1000);
goto s;
}
cout<<" 恶劣之地"<<endl;
cout<<"1:寻找 2:返回"<<endl;
if(jitan>=7)cout<<"⒊召唤BOSS"<<endl;
cin>>xuanze;
if(xuanze==1)goto xunzhao;
else if(xuanze==2)goto s;
else if(xuanze==3&&jitan>=7)goto boss;
else goto ssss;
xunzhao:
system("cls");
cout<<"寻找中"<<endl;
Sleep(3000);
srand(time(0));
xunzhao=rand()%8+1;
if(xunzhao==1||xunzhao==2||xunzhao==3||xunzhao==4||xunzhao==5)goto guaiwu;
else if(xunzhao==6||xunzhao==7){
system("cls");
cout<<"宝藏"<<endl;
cout<<"物资币+5"<<endl;
wuzi+=5;
Sleep(1000);
goto ssss;
}
else {
cout<<"找到了一座祭坛"<<endl;
cout<<"找到7座可唤醒BOSS"<<endl;
jitan++;
cout<<"已遇到"<<jitan<<"座"<<endl;
Sleep(2000);
goto ssss;
}
guaiwu:
system("cls");
cout<<"你遇到了怪兽"<<endl;
cout<<"[生命:120 攻击:20]"<<endl;
guaishou[1]=120;
guaishou[2]=20;
chonfu:
cout<<"你攻击了怪兽"<<endl;
cout<<"你打掉了怪兽"<<gonji-10<<"点血量"<<endl;
guaishou[1]-=gonji-10;
Sleep(1000);
cout<<"怪兽攻击了你"<<guaishou[2]+2<<"点伤害(2破甲)"<<endl;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
Sleep(1000);
if(guaishou[1]>0&&shengming>0)goto chonfu;
else if(guaishou[1]<=0){
system("cls");
cout<<"你战胜了怪兽"<<endl;
cout<<"物资+10"<<endl;
cout<<"生命+20"<<endl;
wuzi+=10;
shengming+=20;
Sleep(1000);
goto ssss;
}
else{
goto nsl;
}
boss:
{
system("cls");
cout<<"你召唤了BOSS"<<endl;
cout<<"[生命:800 攻击:100]"<<endl;
guaishou[1]=800;
guaishou[2]=100;
jitan-=7;
dddd:
cout<<"你攻击了BOSS"<<endl;
cout<<"你打掉了BOSS"<<gonji-20<<"点血量"<<endl;
guaishou[1]-=gonji-20;
Sleep(1000);
cout<<"BOSS攻击了你"<<guaishou[2]+8<<"点伤害(8破甲)"<<endl;
cout<<"你还剩"<<shengming<<"点血量"<<endl;
if(guaishou[1]>0&&shengming>0)goto dddd;
else if(guaishou[1]<=0){
system("cls");
cout<<"你战胜了BOSS"<<endl;
cout<<"物资+100"<<endl;
cout<<"生命+100"<<endl;
wuzi+=100;
shengming+=100;
Sleep(1000);
goto ssss;
}
else{
goto nsl;
}
}
nsl:
system("cls");
if(shengsi==0){
cout<<"你死了,你来到了天堂";
shengsi=1;
Sleep(1000);
system("cls");
}
cout<<" 天堂"<<endl;
cout<<"1:退出 2:复活(复活码)"<<endl;
cin>>xuanze;
if(xuanze==1){
goto tttttttt;
}
else if(xuanze==2){
cout<<"复活码:";
cin>>xuanze;
if(xuanze==174174174){
shengming=20;
Sleep(1000);
cout<<"已复活"<<endl;
goto s;
}
else{
cout<<"密码错误"<<endl;
goto nsl;
}
}
else{
goto nsl;
}
tttttttt:
for(int i=1;i<=10;i++){
for(int j=1;j<=10;j++){
for(int we=1;we<=10;we++){
cout<<"确定吗";
}
}
}
cout<<"1:确定 2:不确定"<<endl;
cin>>xuanze;
if(xuanze==1){
system("cls");
return 0;
}
else
goto nsl;
waigua:
system("cls");
cout<<" 卍☆▇外▇挂▇区▇☆卐"<<endl;
cout<<"⒈假·战神(700物资币,限购1次)"<<endl;
cout<<"⒉真·战神(外挂码)"<<endl;
cout<<"⒊真·财神(外挂码)"<<endl;
cout<<"⒋真·盾神(外挂码)"<<endl;
cout<<"⒌真·血神(外挂码)"<<endl;
cout<<"⒍一键启动"<<endl;
cout<<"⒎退出"<<endl;
cin>>xuanze;
if(xuanze==1){
if(wuzi>=700&&sb==0){
system("cls");
cout<<"购买成功(加200伤害)"<<endl;
sb=1;
wuzi-=700;
gonji+=200;
Sleep(1000);
goto waigua;
}
else if(wuzi<700){
system("cls");
cout<<"钱不够了"<<endl;
Sleep(1000);
goto waigua;
}
else{
cout<<"购买过了"<<endl;
Sleep(1000);
goto waigua;
}
}
else if(xuanze==2){
system("cls");
cout<<"外挂码:"<<endl;
cin>>xuanze;
if(xuanze==100410){
cout<<"已启动"<<endl;
gonji=9999999999;
chonwu=1;
Sleep(1000);
goto waigua;
}
else{
system("cls");
cout<<"错误"<<endl;
Sleep(1000);
goto waigua;
}
}
else if(xuanze==3){
system("cls");
cout<<"外挂码:"<<endl;
cin>>xuanze;
if(xuanze==100409){
cout<<"已启动"<<endl;
wuzi=9999999999;
Sleep(1000);
goto waigua;
}
else{
system("cls");
cout<<"错误"<<endl;
Sleep(1000);
goto waigua;
}
}
else if(xuanze==4){
system("cls");
cout<<"外挂码:"<<endl;
cin>>xuanze;
if(xuanze==210424){
cout<<"已启动"<<endl;
fangyu=9999999999;
Sleep(1000);
goto waigua;
}
else{
system("cls");
cout<<"错误"<<endl;
Sleep(1000);
goto waigua;
}
}
else if(xuanze==5){
system("cls");
cout<<"外挂码:"<<endl;
cin>>xuanze;
if(xuanze==241951){
cout<<"已启动"<<endl;
shengming=9999999999;
Sleep(1000);
goto waigua;
}
else{
system("cls");
cout<<"错误"<<endl;
Sleep(1000);
goto waigua;
}
}
else if(xuanze==6){
system("cls");
cout<<"外挂码:"<<endl;
cin>>xuanze;
if(xuanze==901724){
cout<<"已启动"<<endl;
shengming=9999999999;
gonji=99999999999;
fangyu=99999999999;
wuzi=99999999999;
chonwu=1;
Sleep(1000);
goto waigua;
}
else{
system("cls");
cout<<"错误"<<endl;
Sleep(1000);
goto waigua;
}
}
else if(xuanze==7){
goto s;
}
else{
goto waigua;
}
return 0;
}