提交 f1715893 编辑于 作者: 哲昊 周's avatar 哲昊 周
浏览文件

Upload New File

上级 ccce1e0b
#include <Windows.h>
#include <iostream>
#include<conio.h>
#include "Prepare.h"
#define W Sleep(1000);//延时一秒
using namespace std;
//开始冒险
void Battle::Battle_Adventure()
{
system("cls");
system("color BD");//设置背景颜色
system("mode con cols=75 lines=20");
if (process == 0)
{
cout << "在一番整理之后,林克踏上了寻找四位英灵伙伴的旅途," << endl;W
cout << "在阿卡莱古代研究所的时候,他打听到了一些关于他们的消息," << endl;W
cout << "王国沦陷后,盖侬派遣四个怨灵攻陷了落败的英灵战士的领地,夺取了他们的能力," << endl;W
cout << "林克的挚友,利特族战士力巴尔被怨灵“狂风”囚禁," << endl;W
cout << "为了营救力巴尔,林克决定首先前往位于西北险峻的大峡谷中的利特村," << endl ;W
cout << "***************************************************************************" <<endl;
cout << "1.去酒馆打听关于“狂风”的情报(¥20)" << endl;
cout << "2.讨伐“狂风”" << endl;
cout << "3.离开" << endl;
int choose;
cout << "输入你的选择"<< endl;
cin >> choose;
while (choose != 3)
{
switch (choose)
{
case 1:
if (Money >= 20)
{
cout << "“狂风”擅于使用强大的风之力,击飞违抗他的人" << endl;
Money -= 20;
break;
}
cout << "金钱不足" << endl;
break;
case 2:
system("color C0");
Battle_Kuangfeng();
break;
default:
cout << "无效的选择,重新输入" << endl;
}
if (choose == 2)
break;
cout << "输入你的选择" << endl;
cin >> choose;
}
if (choose == 3)
Battle_Map();
}
else if (process == 1)
{
cout << "在成功营救力巴尔后,你从他那里得知:" << endl;W
cout << "卓拉族的公主米法,被“洪流”囚禁在东方大瀑布水底中的卓拉领地" << endl;W
cout << "米法不仅是英灵战士,还是林克的青梅竹马,两人曾留下过许多美好的回忆" << endl;W
cout << "过去的画面渐渐浮现,林克拯救世界的决心愈发坚定" << endl ;W
cout << "于是他决定立刻动身前往卓拉领地,准备救出米法" << endl;W
cout << "***************************************************************************" << endl;
cout << "1.去酒馆打听关于“洪流”的情报(¥20)" << endl;
cout << "2.讨伐“洪流”" << endl;
cout << "3.离开" << endl;
int choose;
cout << "输入你的选择" << endl;
cin >> choose;
while (choose != 3)
{
switch (choose)
{
case 1:
if (Money >= 20)
{
cout << "“洪流”会在蓄力后下一回合释放强力的冲激漩涡,如果能飞的话应该可以躲过" << endl;
Money -= 20;
break;
}
cout << "金钱不足" << endl;
break;
case 2:
system("color C0");
Battle_hongliu();
break;
default:
cout << "无效的选择,重新输入" << endl;
}
if (choose == 2)
break;
cout << "输入你的选择" << endl;
cin >> choose;
}
if (choose == 3)
Battle_Map();
}
else if (process == 2)
{
cout << "被解救后的米法与林克重逢,两人在一番开心地叙旧后,讨论起了下一步的计划" << endl;W
cout << "从米法口中,林克得知了格鲁德族战士乌尔波扎的下落" << endl;W
cout << "她被沙暴囚禁在西南大沙漠深处的格鲁德镇" << endl;W
cout << "稍稍整顿之后,林克向大沙漠进发" << endl ;W
cout << "***************************************************************************" << endl;
cout << "1.去酒馆打听关于“沙暴”的情报(¥20)" << endl;
cout << "2.讨伐“沙暴”" << endl;
cout << "3.离开" << endl;
int choose;
cout << "输入你的选择" << endl;
cin >> choose;
while (choose != 3)
{
switch (choose)
{
case 1:
if (Money >= 20)
{
cout << "“沙暴”会召唤闪电发动攻击,没有防雷措施的战士最后只会剩下烧焦的骸骨" << endl;
Money -= 20;
break;
}
cout << "金钱不足" << endl;
break;
case 2:
system("color C0");
Battle_Shabao();
break;
default:
cout << "无效的选择,重新输入" << endl;
}
if (choose==2)
break;
cout << "输入你的选择" << endl;
cin >> choose;
}
if (choose == 3)
Battle_Map();
}
else if (process == 3)
{
cout << "摆脱了束缚的乌尔波扎看着林克从曾经的少年,成长为现在这样一个出色的战士," << endl;W
cout << "她倍感欣慰,开玩笑似的摸了摸他的头" << endl;W
cout << "然后转头望向东北方,那里一座高耸的远古火山巍然屹立" << endl;W
cout << "她告诉林克,那是鼓隆城,也是鼓隆族战士达尔克尔被“炙岩”关押的地方" << endl;W
cout << "林克点了点头,收拾好行囊后便向下个目的地出发" << endl ;W
cout << "***************************************************************************" << endl;
cout << "1.去酒馆打听关于“炙岩”的情报(¥20)" << endl;
cout << "2.讨伐“炙岩”" << endl;
cout << "3.离开" << endl;
int choose;
cout << "输入你的选择" << endl;
cin >> choose;
while (choose != 3)
{
switch (choose)
{
case 1:
if (Money >= 20)
{
cout << "“炙岩”拥有强大的护盾,并且还会不断凝结新的火元素护盾,也许可以在护盾形成时尝试用雷电来击破" << endl;
Money -= 20;
break;
}
cout << "金钱不足" << endl;
break;
case 2:
system("color C0");
Battle_Zhiyan();
break;
default:
cout << "无效的选择,重新输入" << endl;
}
if (choose == 2)
break;
cout << "输入你的选择" << endl;
cin >> choose;
}
if (choose == 3)
Battle_Map();
}
else if (process == 4)
{
cout << "随着“炙岩”被击败,最后一位英灵伙伴也被解救" << endl;W
cout << "林克在旅途中也获得了比曾经的自己更强大的力量" << endl;W
cout << "现在,只剩下一个地方还需要拯救——海拉鲁城堡,塞尔达公主还在那里和盖侬奋战" << endl;W
cout << "林克拿起武器,向着大陆中央进发" << endl ;W
cout << "***************************************************************************" << endl;
cout << "你来到关键的剧情结点,请准备充分,慎重选择" << endl;W
cout << "1.去酒馆打听关于“灾厄盖侬”的情报(¥20)" << endl;
cout << "2.讨伐“盖侬”" << endl;
cout << "3.离开" << endl;
int choose;
cout << "输入你的选择" << endl;
cin >> choose;
while (choose != 3)
{
switch (choose)
{
case 1:
if (Money >= 20)
{
cout << "作为远古最强大的恶魔,盖侬可以随时召唤四个怨灵为他战斗,只有准备充分、奋战到底才能看到希望" << endl;
Money -= 20;
break;
}
cout << "金钱不足" << endl;
break;
case 2:
system("color C0");
Battle_Gainong();
break;
default:
cout << "无效的选择,重新输入" << endl;
}
if (choose == 2)
break;
cout << "输入你的选择" << endl;
cin >> choose;
}
if (choose == 3)
Battle_Map();
}
else if (process == 5)
{
system("color 84");
cout << endl << endl << endl << endl << endl << endl;
cout<< " 世界毁灭,林克已死"; W W
Battle_Map();
}
else
{
system("color E3");
cout << endl << endl << endl << endl << endl << endl;
cout<< " 一切都已经是最好的模样"; W W
Battle_Map();
}
}
\ No newline at end of file
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册