中级天翼
ε=(´ο`*)))唉……
总算把代码肝出来了……
大家看看这个网址能不能下载:
大家下载后请将文件扩展名改为exe(docx --> exe)
ps:
如果你的文件是这样的:
那么请任意打开一个文件夹
点击上方的“查看”键:
点击文件扩展名:
接着将文件名"."后面的docx改为exe即可
如果出现以下情况:
选择“更多信息”:
点击“仍要运行”:
完成!!!
朱优扬在2021-06-09 18:31:50追加了内容
代码:
#include <iostream>
#include <windows.h>
#include <fstream>
#include <conio.h>
#include <time.h>
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME)* 0x8000) ? 1:0)
using namespace std;
HWND hwnd=GetForegroundWindow();
POINT pt;
//pt.x >= && pt.x <= &&pt.y >= &&pt.y <=
const int MAX = 42, lxd = 39;
long long nmjt, sx;
long long us, d, e, xz;
char num;
long long dj2;
string cz;
long long nkkg;
long long hyd_sds, d_j;
bool wgg_tk = false, wgg_xj = false, wgg_tj = false;
bool hyd_sd = false, zhyd_sd = false, mf, bh;
long long hf_j_sp, hczg_sp, ysyh_sp, xnc;
bool mdqr_cnhk, zmdqr_cnhk;
long long mdqr_cnhk_sp, nyc, yhc;
long long yzcnt, ytcnt, ywcnt;
bool cj1 = false, cj2 = false, cj3 = false, cj4 = false, cj5 = false, hf_j, hczg, ysyh, zhf_j, zhczg, zysyh;
bool cj12, cj13, cj22, cj23, cj32, cj33, cj42, cj43, cj52, cj53;
bool zzzj = false, zzzzj = false;
long long sdk, dhq, x_ans, bh_dq, dj, syg, bp, nyf, xys, yh;
long long cntjm, cntjt, cntjj, cntjz, cntjl, cntwjzj, cntch, cntchb;
long long cnt, wzjdlcnt, znqcnt, cntj, cntcnt, cnt1, guaixuet, gxts, guaixue, gxs;
long long cntqq, cntmt, cnttk, cntjk, cntzs, cntlb;
long long yingcang, yingcang1;
long long maxnz = 1, minnz = 9, maxn = 14, minn = 1, minn1 = 1, maxn1 = 3, minnyc = 1, maxnyc = 10;
long long ans, ans2, ansycdt, ansjy;
bool xw = false, xm = false, yx = false, yt = false, hs = false, hw = false;
bool c1p1 = false, c1p2 = false, c5p1 = false, c5p2 = false, c6p1 = false, c6p2 = false;
string c61, c62, c63, c64, c65, c66, c67;
string zuihouyigestring;
bool zc1 = false, zc2 = false, zc3 = false, zc4 = false, zc5 = false, zc6 = false, zc7 = false;
bool c1 = false, c2 = false, c3 = false, c4 = false, c5 = false, c6 = false, c7 = false;
bool b1 = false, b2 = false, b3 = false, b4 = false;
bool xcc = 1, xcc1 = 1, xcc2 = 1, xcc3 = 1;
long long wx = 70;
long long kg = 2, kg1 = 2, kg2 = 2, kg3 = 2;
char yidong, yidong1, yidong2, yidong3;
long long jinbi = 200;
char a, b;
bool lhz = false, hxt = false, bst = false, lhx = false;
bool zlhz = false, zhxt = false, zbst = false, zlhx = false;
string fq;
char rt;
void pause(){
system("pause");
return;
}
void color(int x){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),x);
}
void ty(long long x) {
Sleep(x);
return;
}
void cls() {
system("cls");
return;
}
void then_not() {
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_CURSOR_INFO CursorInfo;
GetConsoleCursorInfo(handle, &CursorInfo);
CursorInfo.bVisible = false;
SetConsoleCursorInfo(handle, &CursorInfo);
}
int wgg_pd(bool x) {
if (x == true)
return 2;
else
return 1;
}
void qp() {
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
COORD coordScreen = {0, 0};
SetConsoleCursorPosition(hConsole, coordScreen);
}
int lens(int x, int y) {
return x < y;
}
string GX_P_RQ() {
time_t timep;
time (&timep);
char tmp[64];
strftime(tmp, sizeof(tmp), "%Y%m%d", localtime(&timep));
return tmp;
}
void mnb() {
freopen("(zsdj)旧存档.txt", "w", stdout);
cout << jinbi << " " << dj << " " << sdk << " " << dhq << " " << hyd_sds << " " << x_ans << " " << bh_dq << " " << syg
<< " " << bp << " " << nyf << " " << xys << " " << yh << " " << hf_j_sp << " " << hczg_sp << " " << ysyh_sp << " " <<
xnc << " " << nyc << " " << yhc << " " << mdqr_cnhk_sp << " " << d << " " << e << " " << dj2 << " " << nmjt << endl;
cout << wgg_tk << " " << wgg_xj << " " << wgg_tj << endl << xz << endl;
if (c1 == true)
cout << c61 << " ";
else
cout << "n ";
if (c2 == true)
cout << c62 << " ";
else if (c2 == false)
cout << "n ";
if (c3 == true)
cout << c63 << " ";
else if (c3 == false)
cout << "n ";
if (c4 == true)
cout << c64 << " ";
else if (c4 == false)
cout << "n ";
if (c5 == true)
cout << c65 << " ";
else if (c5 == false)
cout << "n ";
if (c6 == true)
cout << c66 << " ";
else if (c6 == false)
cout << "n ";
if (c7 == true)
cout << c67 << " ";
else if (c7 == false)
cout << "n ";
if (zzzj == true)
cout << "H.最终之剑" << " ";
else if (zzzj == false)
cout << "n ";
if (ysyh == true)
cout << "I.异次元管理者之刃" << " ";
else if (ysyh == false)
cout << "n ";
if (mdqr_cnhk == true)
cout << "J.阎魔刀-拳皇97" << " ";
else if (mdqr_cnhk == false)
cout << "n ";
cout << endl;
if (lhz == true)
cout << "灵魂治疗器 ";
else if (lhz != true)
cout << "n ";
if (hxt == true)
cout << "回血图腾 ";
else if (hxt != true)
cout << "n ";
if (lhx == true)
cout << "灵魂回血器 ";
else if (lhx == false)
cout << "n ";
if (bst == true)
cout << "不死图腾 ";
else if (bst != true)
cout << "n ";
cout << endl;
if (c1p1 == true)
cout << "Y ";
else if (c1p1 != true)
cout << "N ";
if (c1p2 == true)
cout << "Y ";
else if (c1p2 != true)
cout << "N ";
if (c5p1 == true)
cout << "Y ";
else if (c5p1 == false)
cout << "N ";
if (c5p2 == true)
cout << "Y ";
else if (c5p2 == false)
cout << "N ";
if (c6p1 == true)
cout << "Y ";
else if (c6p1 != true)
cout << "N ";
if (c6p2 == true)
cout << "Y";
else if (c6p2 == false)
cout << "N";
cout << endl;
cout << cnt << " " << cnt1 << " " << wzjdlcnt << " " << znqcnt << " " << cntjm << " " << cntjt << " " << cntjj << " " <<
cntjz << " " << cntjl << " " << cntwjzj << " " << cntch << " " << cntchb << " " << yzcnt << " " << ytcnt << " " <<
ywcnt;
fclose(stdout);
}
void mnb1() {
string scd;
ifstream fin("(zsdj)旧存档.txt");
fin >> jinbi;
fin >> dj;
fin >> sdk;
fin >> dhq;
fin >> hyd_sds;
fin >> x_ans >> bh_dq >> syg >> bp >> nyf >> xys >> yh >> hf_j_sp >> hczg_sp >> ysyh_sp >> xnc >> nyc >> yhc >>
mdqr_cnhk_sp >> d >> e >> dj2 >> nmjt >> wgg_tk >> wgg_xj >> wgg_tj >> xz;
xz+=11;
for (int i = 1; i <= 9; i++) {
fin >> scd;
if (scd == "n" || scd == "") {
switch (i) {
case 10:
mdqr_cnhk = false;
break;
case 9:
ysyh = false;
break;
case 8:
zzzj = false;
break;
case 7:
c7 = false;
break;
case 6:
c6 = false;
break;
case 5:
c5 = false;
break;
case 4:
c4 = false;
break;
case 3:
c3 = false;
break;
case 2:
c2 = false;
break;
case 1:
c1 = false;
break;
}
} else {
switch (i) {
case 10:
mdqr_cnhk = true;
break;
case 9:
ysyh = true;
break;
case 8:
zzzj = true;
break;
case 7:
c7 = true;
c67 = "G.镐";
break;
case 6:
c6 = true;
c66 = "F.寒霜獠牙";
break;
case 5:
c5 = true;
c65 = "E.月神匕首";
break;
case 4:
c4 = true;
c64 = "D.龙爪";
break;
case 3:
c3 = true;
c63 = "C.雷霆之锤";
break;
case 2:
c2 = true;
c62 = "B.阔剑";
break;
case 1:
c1 = true;
c61 = "A.笑到最后";
break;
}
}
}
for (int i = 1; i <= 4; i++) {
fin >> scd;
if (scd == "n" || scd == "") {
switch (i) {
case 4:
bst = false;
break;
case 3:
lhx = false;
break;
case 2:
hxt = false;
break;
case 1:
lhz = false;
break;
}
} else {
switch (i) {
case 4:
bst = true;
break;
case 3:
lhx = true;
break;
case 2:
hxt = true;
break;
case 1:
lhz = true;
break;
}
}
}
for (int i = 1; i <= 7; i++) {
fin >> scd;
if (scd == "N" || scd == "") {
switch (i - 1) {
case 6:
c6p2 = false;
break;
case 5:
c6p1 = false;
break;
case 4:
c5p2 = false;
break;
case 3:
c5p1 = false;
break;
case 2:
c1p2 = false;
break;
case 1:
c1p1 = false;
break;
}
} else {
switch (i - 1) {
case 6:
c6p2 = true;
break;
case 5:
c6p1 = true;
break;
case 4:
c5p2 = true;
break;
case 3:
c5p1 = true;
break;
case 2:
c1p2 = true;
break;
case 1:
c1p1 = true;
break;
}
}
}
fin >> cnt >> cnt1 >> wzjdlcnt >> znqcnt;
fin >> cntjm >> cntjt >> cntjj >> cntjz >> cntjl >> cntwjzj >> cntch >> cntchb >> yzcnt >> ytcnt >> ywcnt;
fin.close();
}
void maoxian() {
system("cls");
cout << "a键向后移动,d键向前移动,s打开背包(z第几个装备或法器),q打开法器背包,w打boss,按r使用法器,按l打开外骨骼背包((头盔自动使用)按s使用胸甲技能,按d使用腿甲技能(按下d后选择a或d(d向前移动,a向后移动))(a和s只能在打怪是使用)),e吃附魔金苹果\n";
system("pause");
long long xgsy, orcnt=0;
srand((int)time(NULL));
xgsy = 1 + rand() % 10;
if(xgsy == 1 || xgsy == 7){
cls();
cout << "欢迎来到 雪糕盛宴 \n";
cout << "在这个模式中,每移动一次就可以+1的最大生命值,但移动次数不能超过40次\n";
pause();
cls();
wx = 70 + sx;
kg = 2;
while(1){
qp();
system("COLOR 16");
if(orcnt>=41){
cls();
cout << " 雪糕盛宴 结束";
Sleep(1543);
cls();
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
if(i%3==1) {
cout << "大";
} else if(i%3==2) {
cout << "布";
} else if(i%3==0) {
cout << "丁";
}
}
yidong = getch();
if (yidong == 'a') {
sx++;
orcnt++;
kg -= 1;
} else if (yidong == 'd') {
sx++;
orcnt++;
kg += 1;
} else if (yidong == 'k'){
cls();
cout << "确定退出雪糕盛宴?\n";
cout << "退出 不退出";
if(pt.x >=0 && pt.x<=27 && pt.y >=39 && pt.y <=54 && GetAsyncKeyState(0x11)){
continue;
}
else if(pt.x >=64 && pt.x<=109 && pt.y >=39 && pt.y <=54 && GetAsyncKeyState(0x11)){
cls();
return;
}
} else if (yidong == 'l') {
num = getch();
if (num == 'd' && wgg_tj) {
num = getch();
if (num == 'd') {
for (int i = 1; i <= 26; i++) {
qp();
kg++;
if (kg + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
} else if (num == 'a') {
for (int i = 1; i <= 26; i++) {
qp();
kg--;
if (kg + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
}
}
} else if (yidong == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
cls();
} else if (yidong == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
cls();
} else {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
}
}
} else{
cnt++;
nkkg = 10;
cntcnt = 0;
guaixue = (cnt - 1) * 10 + 30;
gxs = (cnt - 1) * 10 + 30;
kg = 2;
wx = 70 + sx;
system("cls");
while (1) {
qp();
system("COLOR a0");
if (kg + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
yidong = getch();
if (yidong == 'a') {
kg -= 1;
} else if (yidong == 'd') {
kg += 1;
} else if (yidong == 'k'){
cls();
return;
} else if (yidong == 'l') {
num = getch();
if (num == 'd' && wgg_tj) {
num = getch();
if (num == 'd') {
for (int i = 1; i <= 26; i++) {
qp();
kg++;
if (kg + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
} else if (num == 'a') {
for (int i = 1; i <= 26; i++) {
qp();
kg--;
if (kg + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
}
}
} else if (yidong == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
cls();
} else if (yidong == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
cls();
} else {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
cls();
}
}
int dklpslboss;
while (1) {
system("cls");
if (wx <= 0) {
yzcnt++;
cout << "\n你输了!";
Sleep(1000);
system("cls");
break;
} else if (guaixue <= 0) {
cout << "\n你赢了!";
jinbi += 60;
nmjt += 500;
dj += 50;
b1 = true;
Sleep(1000);
system("cls");
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "战神(" << guaixue << "/" << gxs << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixue -= 30 * wgg_pd(wgg_tk);
wx -= 2;
} else if (xm == true) {
guaixue -= 50 * wgg_pd(wgg_tk);
wx -= 2;
} else {
guaixue -= 15 * wgg_pd(wgg_tk);
wx -= 2;
}
} else if (zc2 == true) {
guaixue -= 12 * wgg_pd(wgg_tk);
wx -= 3;
} else if (zc3 == true) {
guaixue -= 8 * wgg_pd(wgg_tk);
wx -= 5;
} else if (zc4 == true) {
guaixue -= 12 * wgg_pd(wgg_tk);
wx -= 3;
} else if (zc5 == true) {
if (yx == true) {
guaixue -= 30 * wgg_pd(wgg_tk);
wx -= 2;
} else if (yt == true) {
guaixue -= 47 * wgg_pd(wgg_tk);
wx -= 2;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixue -= 14 * wgg_pd(wgg_tk);
wx -= 2;
} else {
guaixue -= 17 * wgg_pd(wgg_tk);
wx -= 2;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixue -= 39 * wgg_pd(wgg_tk);
wx -= 2;
} else if (hw == true) {
guaixue -= 28 * wgg_pd(wgg_tk);
wx -= 2;
} else {
guaixue -= 16 * wgg_pd(wgg_tk);
wx -= 2;
}
} else if (zc7 == true) {
guaixue -= 7 * wgg_pd(wgg_tk);
wx -= 5;
} else if (zzzzj == true) {
guaixue -= 54 * wgg_pd(wgg_tk);
wx -= 1;
} else if (zysyh == true) {
guaixue -= guaixue;
wx -= 2;
} else if (zhf_j == true) {
guaixue -= guaixue;
wx -= 2;
} else if (zhczg == true) {
guaixue -= guaixue;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixue -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixue -= lxd;
guaixue -= lxd;
} else
guaixue -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true){
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
}
else if (zhxt == true){
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
}
else if (zlhx == true){
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
}
else if (bst == true){
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
}
}
}
}
return;
}
void out(string x) {
cout << x;
return;
}
int main() {
system("title 战神对决·拳皇97");
int fqans;
system("cls");
cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t\t\t极风游戏";
Sleep(6000);
system("cls");
cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t\t\t极风工作室";
cout << "\n\n\n\n\n\n\t\t\t\t\t\t\t\t\t健康游戏忠告\n\t\t\t\t\t\t\t\t抵制不良游戏,拒绝盗版游戏。\n\t\t\t\t\t\t\t\t注意自我保护,谨防受骗上当。\n\t\t\t\t\t\t\t\t适度游戏益脑,沉迷游戏伤身。\n\t\t\t\t\t\t\t\t合理安排时间,享受健康生活。";
Sleep(6543);
system("cls");
for (int i = 1; i <= 9; i++)
cout << "\t";
cout << "游戏加载中\n";
for (int i = 1; i <= MAX; i++) {
cout << "----";
Sleep(100);
}
Sleep(500);
system("cls");
cout << "版本说明:\n";
cout << " 1.可以花费点券购买精英手册,精英手册满级后,可到商城兑换阎魔刀 - 拳皇97\n";
cout << " 2.版本更新后,一共增加了2把武器\n";
cout << " 3.凡是氪金武器伤害都为 无限 (除阎魔刀 - 拳皇97外,这把刀伤害为 123456 )\n";
cout << " 4.新赛季开始,全新精英手册拳皇97\n";
cout << " 5.纳米科技:打血量不同的怪会掉落不同的纳米晶体,也可通过点券购买,可在“纳米商店”中进行交易\n";
cout << " 6.外骨骼头盔会让攻击伤害翻倍,外骨骼胸甲可以发射龙息弹,外骨骼腿甲可以快速移动\n";
cout << " 7.点券改为打怪获取,和金币兑换\n";
cout << " 8.游戏内可以通过按k退出\n";
cout << " 9.游戏改变操作方法:现在需要将鼠标放在对应的文字上且按下Ctrl才能进入\n";
cout << " 10.请保证游戏时运行框为全屏,否则将无法操作\n";
cout << " 11.在新版本中删除了工作台,加入了开箱子,具体请自己查看\n";
cout << " 12.在用Ctrl操作是可能会有延时,请心等待一下\n";
cout << " 13.加入新模式雪糕盛宴,在冒险模式中有几率匹配到\n";
cout << " ";
system("pause");
system("cls");
string lycsstriyng = "20210820";//2021.6.10出
if (GX_P_RQ() >= lycsstriyng) {
cout << "游戏已更新,此版本无法游玩";
Sleep(1000);
return lens(0, 1);
}
ShowWindow(hwnd, SW_MAXIMIZE);
while (1) {
then_not();
color (9);
cout << "\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t\t\t 战神对决\n\n";
color (01);
cout << "\t\t\t\t\t\t\t\t\t __________\n";
cout << "\t\t\t\t\t\t\t\t\t |开始游戏|\n";
cout << "\t\t\t\t\t\t\t\t\t |________|\n\n";
color (02);
cout << "\t\t\t\t\t\t\t\t\t __________\n";
cout << "\t\t\t\t\t\t\t\t\t |读取存档|\n";
cout << "\t\t\t\t\t\t\t\t\t |________|\n\n";
GetCursorPos(&pt);
if (pt.x >= 590 && pt.x <= 657 && pt.y >= 248 && pt.y <= 271 && GetAsyncKeyState(0x11)) {
Sleep(200);
system("cls");
break;
} else if (pt.x >= 590 && pt.x <= 657 && pt.y >= 311 && pt.y <= 337 && GetAsyncKeyState(0x11)) {
Sleep(200);
mnb1();
system("cls");
break;
}
qp();
}
system("cls");
while (1) {
qp();
system("COLOR 07");
cout << "冒险模式 武器抽奖 法器抽奖 商店 仓库 休闲模式";
cout << " 开箱子 精英手册 活动抽奖 纳米商店 esc保存并退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 62 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11))
maoxian();
else if (pt.x >= 96 && pt.x <= 158 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
while (1) {
system("cls");
cout << "20金币一次\n";
cout << "你有";
cout << jinbi;
cout << "个金币\n\n抽奖 退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 31 && pt.y >= 70 && pt.y <= 85 && GetAsyncKeyState(0x11)) {
if (jinbi >= 20) {
system("cls");
srand((int)time(NULL));
ans = minn + rand() % (maxn - minn + 1);
if (ans == 1) {
cout << "你抽到了 笑到最后 ";
c61 = "A.笑到最后";
c1 = true;
Sleep(2000);
jinbi -= 20;
system("cls");
break;
} else if (ans >= 2 && ans <= 3) {
cout << "你抽到了阔剑";
c62 = "B.阔剑";
c2 = true;
Sleep(2000);
jinbi -= 20;
system("cls");
break;
} else if (ans >= 6 && ans <= 8) {
cout << "你抽到了雷霆之锤";
c63 = "C.雷霆之锤";
c3 = true;
Sleep(2000);
system("cls");
jinbi -= 20;
break;
} else if (ans == 4 || ans == 5) {
cout << "你抽到了龙爪";
c64 = "D.龙爪";
c4 = true;
Sleep(2000);
jinbi -= 20;
system("cls");
break;
} else if (ans == 9) {
cout << "你抽到了 月神匕首 ";
c65 = "E.月神匕首";
c5 = true;
Sleep(2000);
jinbi -= 20;
system("cls");
break;
} else if (ans == 10) {
cout << "你抽到了 寒霜獠牙 ";
c66 = "F.寒霜獠牙";
c6 = true;
Sleep(2000);
jinbi -= 20;
system("cls");
break;
} else {
cout << "你抽到了镐";
c67 = "G.镐";
c7 = true;
Sleep(2000);
jinbi -= 20;
system("cls");
break;
}
} else {
system("cls");
cout << "金币不足!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 48 && pt.x <= 79 && pt.y >= 71 && pt.y <= 86 && GetAsyncKeyState(0x11)) {
system("cls");
break;
}
}
} else if (pt.x >= 194 && pt.x <= 253 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
while (1) {
then_not();
qp();
cout << "30金币一次\n";
cout << "抽奖 退出";
srand((int)time(NULL));
fqans = 1 + rand() % 4;
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 30 && pt.y >= 41 && pt.y <= 55 && GetAsyncKeyState(0x11)) {
if (jinbi < 30) {
system("cls");
cout << "金币不足!";
Sleep(1000);
system("cls");
break;
} else {
if (fqans == 1) {
system("cls");
cout << "你抽到了 灵魂治疗器 ";
Sleep(1000);
jinbi -= 30;
lhz = true;
system("cls");
break;
} else if (fqans == 2) {
system("cls");
cout << "你抽到了 回血图腾 ";
Sleep(1000);
jinbi -= 30;
hxt = true;
system("cls");
break;
} else if (fqans == 3) {
system("cls");
cout << "你抽到了 灵魂回血器 ";
Sleep(1000);
lhx = true;
jinbi -= 30;
system("cls");
break;
} else {
system("cls");
cout << "你抽到了 不死图腾 ";
Sleep(1000);
jinbi -= 30;
bst = true;
system("cls");
break;
}
}
} else if (pt.x >= 63 && pt.x <= 95 && pt.y >= 41 && pt.y <= 55 && GetAsyncKeyState(0x11)) {
cls();
break;
}
}
} else if (pt.x >= 291 && pt.x <= 316 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
system("cls");
char pifu;
while (1) {
then_not();
qp();
cout << "笑到最后--五爪金龙(150金币) 笑到最后--梦幻火箭(160金币)\n";
cout << "月神匕首--生命誓言(80金币) 月神匕首--特工banana(110金币)\n";
cout << "寒霜獠牙--时之沙漏(120金币) 寒霜獠牙--百万伏特(90金币)\n";
cout << "附魔金苹果(40金币) 阎魔刀--兔子白白(精英手册满级后的所有碎片) 退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 219 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
if (jinbi >= 150 && c1 == true) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 150;
c1p1 = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 296 && pt.x <= 517 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
if (jinbi >= 160 && c1 == true) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 160;
c1p2 = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=0 && pt.x<=210 && pt.y>=39 && pt.y<=52 && GetAsyncKeyState(0x11)) {
if (jinbi >= 80 && c5 == true) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 80;
c5p1 = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=296 && pt.x<=529 && pt.y>=39 && pt.y<=52 && GetAsyncKeyState(0x11)) {
if (jinbi >= 110 && c5 == true) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 110;
c5p2 = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=0 && pt.x<=218 && pt.y>=55 && pt.y<=68 && GetAsyncKeyState(0x11)) {
if (jinbi >= 120 && c6 == true) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 120;
c6p1 = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=296 && pt.x<=506 && pt.y>=55 && pt.y<=68 && GetAsyncKeyState(0x11)) {
if (jinbi >= 90 && c6 == true) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 90;
c6p2 = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=0 && pt.x<=145 && pt.y>=72 && pt.y<=85 && GetAsyncKeyState(0x11)) {
if (jinbi >= 50) {
system("cls");
cout << "购买成功!";
Sleep(1000);
jinbi -= 50;
cntj++;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=225 && pt.x<=562 && pt.y>=72 && pt.y<=85 && GetAsyncKeyState(0x11)) {
if (mdqr_cnhk_sp >= 100) {
system("cls");
cout << "购买成功!";
Sleep(1000);
mdqr_cnhk_sp -= 100;
mdqr_cnhk = true;
system("cls");
break;
} else {
system("cls");
cout << "购买失败!碎片少了";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x>=632 && pt.x<=661 && pt.y>=72 && pt.y<=85 && GetAsyncKeyState(0x11)) {
system("cls");
break;
}
}
} else if (pt.x >= 354 && pt.x <= 380 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
system("cls");
while (1) {
then_not();
qp();
if (c1p1 == true) {
cout << "笑到最后--五爪金龙 ";
}
if (c1p1 == false) {
cout << "(无) ";
}
if (c1p2 == true) {
cout << "笑到最后--梦幻火箭 ";
}
if (c1p2 == false) {
cout << "(无) ";
}
if (c5p1 == true) {
cout << "月神匕首--生命誓言 ";
}
if (c5p1 == false) {
cout << "(无) ";
}
if (c5p2 == true) {
cout << "月神匕首--特工banana ";
}
if (c5p2 == false) {
cout << "(无) ";
}
if (c6p1 == true) {
cout << "寒霜獠牙--时之沙漏 ";
}
if (c6p1 == false) {
cout << "(无) ";
}
if (c6p2 == true) {
cout << "寒霜獠牙--百万伏特 ";
}
if (c6p2 == false) {
cout << "(无) ";
}
cout << "退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 142 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (c1p1 == true) {
cout << "已装备";
Sleep(1000);
xw = true;
xm = false;
yx = false;
yt = false;
hs = false;
hw = false;
system("cls");
break;
} else {
cout << "你没有这把武器";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 175 && pt.x <= 318 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (c1p2 == true) {
cout << "已装备";
Sleep(1000);
xw = false;
xm = true;
yx = false;
yt = false;
hs = false;
hw = false;
system("cls");
break;
} else {
cout << "你没有这把武器";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 352 && pt.x <= 494 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (c5p1 == true) {
cout << "已装备";
Sleep(1000);
xw = false;
xm = false;
yx = true;
yt = false;
hs = false;
hw = false;
system("cls");
break;
} else {
cout << "你没有这把武器";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 528 && pt.x <= 686 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (c5p2 == true) {
cout << "已装备";
Sleep(1000);
xw = false;
xm = false;
yx = false;
yt = true;
hs = false;
hw = false;
system("cls");
break;
} else {
cout << "你没有这把武器";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 720 && pt.x <= 863 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (c6p1 == true) {
cout << "已装备";
Sleep(1000);
xw = false;
xm = false;
yx = false;
yt = false;
hs = true;
hw = false;
system("cls");
break;
} else {
cout << "你没有这把武器";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 896 && pt.x <= 1038 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (c6p2 == true) {
cout << "已装备";
Sleep(1000);
xw = false;
xm = false;
yx = false;
yt = false;
hs = false;
hw = true;
system("cls");
break;
} else {
cerr << "你没有这把武器";
Sleep(1000);
system("cls");
break;
}
} else if (pt.x >= 1071 && pt.x <= 1103 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
break;
}
}
} else if (pt.x >= 416 && pt.x <= 478 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
while (true) {
system("COLOR 07");
system("cls");
cout << "泰坦(挑战) 谁是小偷 王者基多拉(挑战) 怪物大乱斗(挑战) SDE?′▓▍μm▉HX?DWJの??A(挑战) 退出";
GetCursorPos(&pt);
bool a123=false;
if (pt.x >= 0 && pt.x <= 85 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
cout << "a键向后移动,d键向前移动,s打开背包(z第几个装备或法器),q打开法器背包,w打boss,按r使用法器,按l打开外骨骼背包(按a使用头盔技能,按s使用胸甲技能,按d使用腿甲技能(按下d后选择a或d(d向前移动,a向后移动))(a和s只能在打怪是使用)),e吃附魔金苹果\n";
system("pause");
wx = 70 + sx;
kg2 = 2;
cnt1++;
cntcnt = 0;
nkkg = 10;
guaixuet = (cnt1 - 1) * 5 + 100;
gxts = (cnt1 - 1) * 5 + 100;
system("cls");
while (1) {
system("COLOR a0");
qp();
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
yidong = getch();
if (yidong == 'a') {
kg2 -= 1;
} else if (yidong == 'd') {
kg2 += 1;
} else if (yidong == 'k'){
a123=true;
break;
} else if (yidong == 'l') {
num = getch();
if (num == 'd' && wgg_tj) {
num = getch();
if (num == 'd') {
for (int i = 1; i <= 26; i++) {
qp();
kg2++;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
} else if (num == 'a') {
for (int i = 1; i <= 26; i++) {
qp();
kg2--;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
}
}
} else if (yidong == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
cls();
} else if (yidong == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
cls();
} else {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
cls();
}
}
int dklpslboss;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
ytcnt++;
cout << "\n你输了!";
Sleep(1000);
system("cls");
break;
} else if (guaixuet <= 0) {
cout << "\n你赢了!";
cntj += 5;
nmjt += 750;
dj += 100;
b1 = true;
Sleep(1000);
system("cls");
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "泰坦(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 30 * wgg_pd(wgg_tk);
wx -= 2;
} else if (xm == true) {
guaixuet -= 50 * wgg_pd(wgg_tk);
wx -= 2;
} else {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 2;
}
} else if (zc2 == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 3;
} else if (zc3 == true) {
guaixuet -= 8 * wgg_pd(wgg_tk);
wx -= 5;
} else if (zc4 == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 3;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 30 * wgg_pd(wgg_tk);
wx -= 2;
} else if (yt == true) {
guaixuet -= 47 * wgg_pd(wgg_tk);
wx -= 2;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 14 * wgg_pd(wgg_tk);
wx -= 2;
} else {
guaixuet -= 17 * wgg_pd(wgg_tk);
wx -= 2;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 39 * wgg_pd(wgg_tk);
wx -= 2;
} else if (hw == true) {
guaixuet -= 28 * wgg_pd(wgg_tk);
wx -= 2;
} else {
guaixuet -= 16 * wgg_pd(wgg_tk);
wx -= 2;
}
} else if (zc7 == true) {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 5;
} else if (zzzzj == true) {
guaixuet -= 666666 * wgg_pd(wgg_tk);
wx -= 1;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true){
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
}
else if (zhxt == true){
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
}
else if (zlhx == true){
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
}
else if (bst == true){
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
}
}
}
} else if (pt.x >= 161 && pt.x <= 223 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
int ansh, ansl;
srand((int)time(NULL));
ansh = 1 + rand() % (7);
srand((int)time(NULL));
ansl = 1 + rand() % (38);
cout << " \t\t\t\t\t\t1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38\n";
for (int i = 1; i <= 7; i++) {
cout << i;
cout << "\t\t\t\t\t\t";
for (int j = 1; j <= 38; j++) {
if (ansh == i && ansl == j) {
cout << 'y' << " ";
continue;
}
cout << "x" << " ";
}
cout << endl;
}
int th, tl;
cout << "请输入小偷的横列:";
cin >> th >> tl;
if (th == ansh && tl == ansl) {
cout << "找对了!";
Sleep(1000);
cntj += 5;
system("cls");
} else {
cout << "找错了!";
Sleep(1000);
system("cls");
}
} else if (pt.x >= 287 && pt.x <= 420 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
cout << "a键向后移动,d键向前移动,s打开背包(z第几个装备或法器),q打开法器背包,w打boss,按r使用法器,按l打开外骨骼背包(按a使用头盔技能,按s使用胸甲技能,按d使用腿甲技能(按下d后选择a或d(d向前移动,a向后移动))(a和s只能在打怪是使用)),e吃附魔金苹果\n";
system("pause");
wx = 70 + sx;
kg2 = 2;
nkkg = 10;
wzjdlcnt++;
srand((int)time(NULL));
ansjy = 1 + rand() % 10;
if (ansjy == 1) {
guaixuet = 30000 + (wzjdlcnt - 1) * 50;
gxts = 30000 + (wzjdlcnt - 1) * 50;
} else {
guaixuet = 9000 + (wzjdlcnt - 1) * 99;
gxts = 9000 + (wzjdlcnt - 1) * 99;
}
system("cls");
while (1) {
system("COLOR a0");
qp();
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
yidong = getch();
if (yidong == 'a') {
kg2 -= 1;
} else if (yidong == 'd') {
kg2 += 1;
} else if (yidong == 'k'){
a123=true;
break;
} else if (yidong == 'l') {
num = getch();
if (num == 'd' && wgg_tj) {
num = getch();
if (num == 'd') {
for (int i = 1; i <= 26; i++) {
qp();
kg2++;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
} else if (num == 'a') {
for (int i = 1; i <= 26; i++) {
qp();
kg2--;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
}
}
} else if (yidong == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
cls();
} else if (yidong == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
cls();
} else {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
cls();
}
}
int dklpslboss;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
system("cls");
break;
} else if (guaixuet <= 0) {
ywcnt++;
cout << "\n你赢了,金币增加1q,金苹果增加1b";
cntj += 500;
jinbi += 1000;
nmjt += 1000;
dj += 800;
b1 = true;
Sleep(1000);
system("cls");
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "王者基多拉(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 5000 * wgg_pd(wgg_tk);
wx -= 2;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) { //特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
} else if (pt.x >= 496 && pt.x <= 629 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
cout << "a键向后移动,d键向前移动,s打开背包(z第几个装备或法器),q打开法器背包,w打boss,按r使用法器,按l打开外骨骼背包(按a使用头盔技能,按s使用胸甲技能,按d使用腿甲技能(按下d后选择a或d(d向前移动,a向后移动))(a和s只能在打怪是使用)),e吃附魔金苹果\n";
system("pause");
wx = 70 + sx;
kg2 = 2;
system("cls");
nkkg = 10;
while (1) {
system("COLOR a0");
qp();
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
yidong = getch();
if (yidong == 'a') {
kg2 -= 1;
} else if (yidong == 'd') {
kg2 += 1;
} else if (yidong == 'k'){
a123=true;
break;
} else if (yidong == 'l') {
num = getch();
if (num == 'd' && wgg_tj) {
num = getch();
if (num == 'd') {
for (int i = 1; i <= 26; i++) {
qp();
kg2++;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
} else if (num == 'a') {
for (int i = 1; i <= 26; i++) {
qp();
kg2--;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
}
}
} else if (yidong == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
cls();
} else if (yidong == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
cls();
} else {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
cls();
}
}
int dklpslboss;
guaixuet = 5500;
gxts = 5500;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
qp();
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
break;
} else if (guaixuet <= 0) {
nmjt += 950;
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "恐惧魔王(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 3000 * wgg_pd(wgg_tk);
wx -= 10;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) { //特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
guaixuet = 7000;
gxts = 7000;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
break;
} else if (guaixuet <= 0) {
nmjt += 1000;
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "NULL(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 3000 * wgg_pd(wgg_tk);
wx -= 10;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) { //特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
guaixuet = 9000;
gxts = 9000;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
break;
} else if (guaixuet <= 0) {
nmjt += 1500;
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "死灵骑士(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 2500 * wgg_pd(wgg_tk);
wx -= 12;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') { //zlhz=false,zhxt=false,zbst=false,zlhx=false;
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) {//特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
guaixuet = 10000;
gxts = 10000;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
break;
} else if (guaixuet <= 0) {
nmjt += 1350;
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "303(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 1000 * wgg_pd(wgg_tk);
wx -= 10;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) {//特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
guaixuet = 10000;
gxts = 10000;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
break;
} else if (guaixuet <= 0) {
dj += 1350;
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "溺尸王Ⅰ(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 1000 * wgg_pd(wgg_tk);
wx -= 10;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) {//特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
guaixuet = 30000;
gxts = 30000;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
break;
} else if (guaixuet <= 0) {
dj += 3000;
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "溺尸王Ⅱ(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 1000 * wgg_pd(wgg_tk);
wx -= 10;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) {//特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
guaixuet = 80000;
gxts = 80000;
system("cls");
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
system("cls");
break;
} else if (guaixuet <= 0) {
cout << "\n你赢了!";
jinbi += 1000000;
nmjt += 4399;
dj += 6822666;
Sleep(1000);
system("cls");
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "Him(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 1000 * wgg_pd(wgg_tk);
wx -= 10;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) {//特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
} else if (pt.x >= 705 && pt.x <= 963 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
cout << "a键向后移动,d键向前移动,s打开背包(z第几个装备或法器),q打开法器背包,w打boss,按r使用法器,按l打开外骨骼背包(按a使用头盔技能,按s使用胸甲技能,按d使用腿甲技能(按下d后选择a或d(d向前移动,a向后移动))(a和s只能在打怪是使用)),e吃附魔金苹果\n";
system("pause");
wx = 70 + sx;
kg2 = 2;
nkkg = 10;
guaixuet = 53774;
gxts = 53774;
system("cls");
while (1) {
system("COLOR a0");
qp();
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
yidong = getch();
if (yidong == 'a') {
kg2 -= 1;
} else if (yidong == 'd') {
kg2 += 1;
} else if (yidong == 'k'){
a123=true;
break;
} else if (yidong == 'l') {
num = getch();
if (num == 'd' && wgg_tj) {
num = getch();
if (num == 'd') {
for (int i = 1; i <= 26; i++) {
qp();
kg2++;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
} else if (num == 'a') {
for (int i = 1; i <= 26; i++) {
qp();
kg2--;
if (kg2 + 2 + 1 >= 73) {
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2; i++) {
cout << " ";
}
cout << "你";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
}
}
}
} else if (yidong == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
cls();
} else if (yidong == 'e') {
if (cntj != 0) {
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
cls();
} else {
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
cls();
}
}
int dklpslboss;
while (1) {
if(a123==true) {
break;
}
system("cls");
if (wx <= 0) {
cout << "\n你输了!";
Sleep(1000);
system("cls");
break;
} else if (guaixuet <= 0) {
cout << "\n你赢了,金币增加1w,金苹果增加1q";
cntj += 1000;
jinbi += 10000;
nmjt += 3199;
dj += 6822;
b1 = true;
Sleep(1000);
system("cls");
break;
}
for (int i = 1; i <= wx; i++) {
cout << "★";
}
for (int i = 1; i <= 19; i++) {
cout << endl;
}
for (int i = 1; i <= kg2 + 7; i++) {
cout << " ";
}
cout << "你";
for (int i = 1; i <= nkkg; i++) {
cout << " ";
}
cout << "SDE?′▓▍μm▉HX?DWJの??A(" << guaixuet << "/" << gxts << ")";
cout << endl;
for (int i = 1; i <= 168; i++) {
cout << "▉";
}
dklpslboss = getch();
if (dklpslboss == 'w') {
cntcnt++;
if (zc1 == true) {
if (xw == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (xm == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
guaixuet -= 7 * wgg_pd(wgg_tk);
wx -= 13;
}
} else if (zc2 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc3 == true) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc4 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 20;
} else if (zc5 == true) {
if (yx == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 15;
} else if (yt == true) {
guaixuet -= 15 * wgg_pd(wgg_tk);
wx -= 14;
} else {
srand((int)time(NULL));
ans2 = minn + rand() % (maxn1 - minn1 + 1);
if (ans2 == 1 || ans2 == 2) {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 18;
} else {
guaixuet -= 5 * wgg_pd(wgg_tk);
wx -= 20;
}
}
} else if (zc6 == true) {
if (hs == true) {
guaixuet -= 10 * wgg_pd(wgg_tk);
wx -= 10;
} else if (hw == true) {
guaixuet -= 12 * wgg_pd(wgg_tk);
wx -= 12;
} else {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 19;
}
} else if (zc7 == true) {
guaixuet -= 4 * wgg_pd(wgg_tk);
wx -= 10000;
} else if (zzzzj == true) {
guaixuet -= 5000 * wgg_pd(wgg_tk);
wx -= 2;
} else if (zysyh == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhf_j == true) {
guaixuet -= guaixuet;
wx -= 2;
} else if (zhczg == true) {
guaixuet -= guaixuet;
wx -= 1;
} else if (zmdqr_cnhk == true) {
guaixuet -= 123456 * wgg_pd(wgg_tk);
wx -= 3;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'l') {
num = getch();
if (num == 's' && wgg_xj)
if (wgg_tk == true) {
guaixuet -= lxd;
guaixuet -= lxd;
} else
guaixuet -= lxd;
} else if (dklpslboss == 's') {
string zhuangbei;
if (c1 == true) {
cout << c61 << " ";
}
if (c2 == true) {
cout << c62 << " ";
}
if (c3 == true) {
cout << c63 << " ";
}
if (c4 == true) {
cout << c64 << " ";
}
if (c5 == true) {
cout << c65 << " ";
}
if (c6 == true) {
cout << c66 << " ";
}
if (c7 == true) {
cout << c67 << " ";
}
if (zzzj == true) {
cout << "H.最终之剑" << " ";
}
if (ysyh == true) {
cout << "I.异次元管理者之刃" << " ";
}
if (hf_j == true) {
cout << "J.寒风「极」" << " ";
}
if (hczg == true) {
cout << "K.回春之光" << " ";
}
if (mdqr_cnhk == true) {
cout << "J.阎魔刀-拳皇97" << " ";
}
cin >> zhuangbei;
if (zhuangbei == "z1" && c1 == true) {
cout << "已装备";
zc1 = true;
zc2 = false;
zc3 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z2" && c2 == true) {
cout << "已装备";
zc1 = false;
zmdqr_cnhk = false;
zc2 = true;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
zhyd_sd = false;
} else if (zhuangbei == "z3" && c3 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = true;
zc4 = false;
zc5 = false;
zc7 = false;
zmdqr_cnhk = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc6 = false;
zzzzj = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z4" && c4 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc4 = true;
zmdqr_cnhk = false;
zc5 = false;
zc6 = false;
zc7 = false;
zhyd_sd = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z5" && c5 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc5 = true;
zc6 = false;
zzzzj = false;
zmdqr_cnhk = false;
zhyd_sd = false;
zc7 = false;
Sleep(1000);
} else if (zhuangbei == "z6" && c6 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zysyh = false;
zhf_j = false;
zmdqr_cnhk = false;
zhczg = false;
zzzzj = false;
zc6 = true;
zc7 = false;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z7" && c7 == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zmdqr_cnhk = false;
zc3 = false;
zc4 = false;
zc5 = false;
zzzzj = false;
zc6 = false;
zc7 = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z8" && zzzj == true) {
cout << "已装备";
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zysyh = false;
zmdqr_cnhk = false;
zhf_j = false;
zhczg = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = true;
zhyd_sd = false;
Sleep(1000);
} else if (zhuangbei == "z9" && ysyh == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = true;
zhf_j = false;
zhczg = false;
zc1 = false;
zmdqr_cnhk = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
Sleep(1000);
} else if (zhuangbei == "z100" && hf_j == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = true;
zhczg = false;
zmdqr_cnhk = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z110" && hczg == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = true;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = false;
zc7 = false;
zzzzj = false;
} else if (zhuangbei == "z10" && mdqr_cnhk == true) {
cout << "已装备";
zhyd_sd = false;
zysyh = false;
zhf_j = false;
zhczg = false;
zc1 = false;
zc2 = false;
zc3 = false;
zc4 = false;
zc5 = false;
zc6 = false;
zmdqr_cnhk = true;
zc7 = false;
zzzzj = false;
}
} else if (dklpslboss == 'a') {
kg--;
nkkg++;
if (nkkg < 4) {
wx -= 2;
}
} else if (dklpslboss == 'd') {
kg++;
nkkg--;
if (nkkg <= 1) {
nkkg = 2;
}
} else if (dklpslboss == 'e') {
if (cntj != 0) {
if (guaixuet <= gxts) {
if (guaixuet + 5 > gxts)
guaixuet = gxts;
else
guaixuet += 5;
}
wx += 25;
cntj--;
cout << "已吃";
Sleep(1000);
} else {
cout << "附魔金苹果吃完了";
Sleep(1000);
}
} else if (dklpslboss == 'q') { //zlhz=false,zhxt=false,zbst=false,zlhx=false;
if (lhz == true)
cout << "A.灵魂治疗器 ";
if (hxt == true)
cout << "B.回血图腾 ";
if (lhx == true)
cout << "C.灵魂回血器 ";
if (bst == true)
cout << "D.不死图腾";
cin >> fq;
if (fq == "z1" && lhz == true) {
cout << "已装备";
Sleep(1000);
zlhz = true;
zhxt = false;
zlhx = false;
zbst = false;
} else if (fq == "z2" && hxt == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = true;
zlhx = false;
zbst = false;
} else if (fq == "z3" && lhx == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = true;
zbst = false;
} else if (fq == "z4" && bst == true) {
cout << "已装备";
Sleep(1000);
zlhz = false;
zhxt = false;
zlhx = false;
zbst = true;
}
} else {
if (zlhz == true) {//特殊判断
if(wx + 20 > 70+sx)
wx = 70 + sx;
else
wx += 20;
if ((guaixuet + 20 / 2 + 20 / 4) > gxts)
guaixuet = gxts;
else
guaixuet += 20 / 2 + 20 / 4;
} else if (zhxt == true) {
if(wx + 18 > 70 + sx)
wx = 70 + sx;
else
wx += 18;
if ((guaixuet + 18 / 2 + 4) > gxts) {
guaixuet = gxts;
} else
guaixuet += 18 / 2 + 4;
} else if (zlhx == true) {
if(wx + 24 > 70 + sx)
wx = 70 + sx;
else
wx += 24;
if ((guaixuet + 24 / 2 + 24 / 4) > gxts)
guaixuet == gxts;
else
guaixuet += 24 / 2 + 24 / 4;
} else if (bst == true) {
if(wx + 35 > 70 + sx)
wx = 70 + sx;
else
wx += 35;
if ((guaixuet + 34 / 2 + 8) > gxts)
guaixuet = gxts;
else
guaixuet += 34 / 2 + 8;
}
}
}
} else if (pt.x >= 1040 && pt.x <= 1072 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
system("cls");
break;
}
}
} else if (pt.x >= 512 && pt.x <= 555 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
cls();
while (true){
then_not();
qp();
cout<<"开箱 开箱*10 兑换奖励箱 退出";
GetCursorPos(&pt);
if(pt.x>=0 && pt.x<=27 && pt.y>=24 && pt.y<=36 && GetAsyncKeyState(0x11)){
cls();
if(xz>=1){
xz--;
int newans;
srand((int)time(NULL));
newans=1+rand()%100;
cls();
if(newans>=1&&newans<=2){
cout<<"你获得了 最 终 之 剑";
zzzj=true;
xz--;
Sleep(1000);
cls();
break;
}
else if(newans>=3&&newans<=13){
cout<<"你获得了 笑到最后-五爪金龙";
c1=true;
c1p1=true;
Sleep(1000);
cls();
break;
}
else if(newans>=14&&newans<=20){
cout<<"你获得了 笑到最后-梦幻火箭";
c1=true;
c1p2=true;
Sleep(1000);
cls();
break;
}
else if(newans>=21&&newans<=31){
cout<<"你获得了 月神匕首-生命誓言";
c5=true;
c5p1=true;
Sleep(1000);
cls();
break;
}
else if(newans>=32&&newans<=44){
cout<<"你获得了 月神匕首-特工banana";
c5=true;
c5p2=true;
Sleep(1000);
cls();
break;
}
else if(newans>=45&&newans<=55){
cout<<"你获得了 寒霜獠牙-时之沙漏";
c6=true;
c6p1=true;
Sleep(1000);
cls();
break;
}
else if(newans>=56&&newans<=67){
cout<<"你获得了 寒霜獠牙-百万伏特";
c6=true;
c6p2=true;
Sleep(1000);
cls();
break;
}
else if(newans>=68&&newans<=88){
cout<<"你获得了 点券*300";
dj+=300;
Sleep(1000);
cls();
break;
}
else if(newans>=89&&newans<=99){
cout<<"你获得了 金币*8848";
jinbi+=8848;
Sleep(1000);
cls();
break;
}
else if(newans>=100){
cout<<"你获得了 箱子*3000";
xz+=3000;
Sleep(1000);
cls();
break;
}
}
else{
cout<<"箱子数量不足";
Sleep(1000);
cls();
break;
}
} else if(pt.x>=64 && pt.x<=119 && pt.y>=24 && pt.y<=36 && GetAsyncKeyState(0x11)){ //pt.x>=62 && pt.x<=141 && pt.y>=24 && pt.y<=36 && GetAsyncKeyState(0x11)
cls();
if(xz>=10){
xz-=10;
int when10jj=10;
while(when10jj--){
int newans;
srand((int)time(NULL));
newans=1+rand()%100;
if(newans>=1&&newans<=2){
cout<<"你获得了 最 终 之 剑\n";
zzzj=true;
xz--;
Sleep(1000);
}
else if(newans>=3&&newans<=13){
cout<<"你获得了 笑到最后-五爪金龙\n";
c1=true;
c1p1=true;
Sleep(1000);
}
else if(newans>=14&&newans<=20){
cout<<"你获得了 笑到最后-梦幻火箭\n";
c1=true;
c1p2=true;
Sleep(1000);
}
else if(newans>=21&&newans<=31){
cout<<"你获得了 月神匕首-生命誓言\n";
c5=true;
c5p1=true;
Sleep(1000);
}
else if(newans>=32&&newans<=44){
cout<<"你获得了 月神匕首-特工banana\n";
c5=true;
c5p2=true;
Sleep(1000);
}
else if(newans>=45&&newans<=55){
cout<<"你获得了 寒霜獠牙-时之沙漏\n";
c6=true;
c6p1=true;
Sleep(1000);
}
else if(newans>=56&&newans<=67){
cout<<"你获得了 寒霜獠牙-百万伏特\n";
c6=true;
c6p2=true;
Sleep(1000);
}
else if(newans>=68&&newans<=88){
cout<<"你获得了 点券*300\n";
dj+=300;
Sleep(1000);
}
else if(newans>=89&&newans<=99){
cout<<"你获得了 金币*8848\n";
jinbi+=8848;
Sleep(1000);
}
else if(newans>=100){
cout<<"你获得了 箱子*3000\n";
xz+=3000;
Sleep(1000);
}
Sleep(1000);
}
cls();
}
else{
cout<<"箱子数量不足";
Sleep(1000);
cls();
break;
}
} else if(pt.x>=152 && pt.x<=231 && pt.y>=24 && pt.y<=36 && GetAsyncKeyState(0x11)){
cls();
while (true){
qp();
then_not();
cout << "1个箱子60点券\n你当前有点券:" << dj << "个\n";
cout << "兑换 退出";
GetCursorPos(&pt);
if(pt.x>=0 && pt.x<=29 && pt.y>=55 && pt.y<=69 && GetAsyncKeyState(0x11)){
cls();
cout << "您当前有" << dj << "张点券\n";
ty(500);
cout << "请问您要兑换多少个箱子?[60点券=1箱子]\n";
long long g;
cin >> g;
long long ls = g*60;
if(dj >= ls) {
cout << "兑换成功";
dj -= ls;
xz += g;
ty(1000);
cls();
break;
} else {
cout << "兑换失败,点券不足";
ty(1000);
cls();
break;
}
} else if(pt.x>=64 && pt.x<=92 && pt.y>=55 && pt.y<=69 && GetAsyncKeyState(0x11)){
ty(10);
cls();
break;
}
}
} else if(pt.x>=264 && pt.x<=293 && pt.y>=24 && pt.y<=36 && GetAsyncKeyState(0x11)){
cls();
break;
}
}
} else if (pt.x >= 592 && pt.x <= 652 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
system("cls");
while (true) {
then_not();
qp();
if (dj2 >= 100) {
cout << "精英手册等级已满";
Sleep(1000);
break;
}
cout << "购买精英手册 退出\n";
cout << "\n您有" << dj << "张点券";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 94 && pt.y >= 24 && pt.y <= 35 && GetAsyncKeyState(0x11)) {
cls();
while (true) {
then_not();
qp();
cout << "2500点券(购买25级) [原价5000点券]4999点券(购买50级) [原价10000点券]9990点券(购买100级) 退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 149 && pt.y >= 24 && pt.y <= 35 && GetAsyncKeyState(0x11)) {
cls();
if (dj >= 2500) {
dj -= 2500;
dj2 += 25;
cout << "购买成功";
jinbi += 10000;
dj += 25;
mdqr_cnhk_sp += 25;
Sleep(1000);
cls();
break;
} else {
cout << "点券不足";
Sleep(100);
cls();
}
} else if (pt.x >= 195 && pt.x <= 453 && pt.y >= 24 && pt.y <= 35 && GetAsyncKeyState(0x11)) {
cls();
if (dj >= 4999) {
dj -= 4999;
dj2 += 50;
cout << "购买成功";
jinbi += 20000;
dj += 50;
mdqr_cnhk_sp += 50;
Sleep(1000);
cls();
break;
} else {
cout << "点券不足";
Sleep(1000);
cls();
}
} else if (pt.x >= 499 && pt.x <= 733 && pt.y >= 24 && pt.y <= 35 && GetAsyncKeyState(0x11)) {
cls();
if (dj >= 9990) {
dj -= 9990;
dj2 += 100;
cout << "购买成功";
jinbi += 40000;
dj += 200;
mdqr_cnhk_sp += 100;
Sleep(1000);
cls();
break;
} else {
cout << "点券不足";
Sleep(1000);
cls();
}
} else if (pt.x >= 816 && pt.x <= 845 && pt.y >= 24 && pt.y <= 35 && GetAsyncKeyState(0x11)) {
system("cls");
break;
}
}
} else if (pt.x >= 128 && pt.x <= 159 && pt.y >= 24 && pt.y <= 35 && GetAsyncKeyState(0x11)) {
Sleep(200);
system("cls");
break;
}
}
} else if (pt.x >= 688 && pt.x <= 749 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
system("cls");
while (true) {
then_not();
qp();
cout << "_______________________________________\n";
cout << "|兑换券|兑换券|碎片|碎片|兑换券|兑换券|\n";
cout << "|兑换券|兑换券|碎片|碎片|兑换券|兑换券|\n";
cout << "|兑换券|兑换券|碎片|碎片|兑换券|兑换券|\n";
cout << "|兑换券|兑换券|碎片|碎片|兑换券|兑换券|\n";
cout << "|兑换券|兑换券|碎片|碎片|兑换券|兑换券|\n";
cout << "_______________________________________\n";
cout << "抽奖(250点券) 兑换商城 退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 109 && pt.y >= 136 && pt.y <= 147 && GetAsyncKeyState(0x11)) {
if (dj >= 250) {
dj -= 250;
srand((int)time(NULL));
us = 1 + rand() % 30;
if (us >= 1 && us <= 20) {
int sand;
srand((int)time(NULL));
sand = 5 + rand() % 45;
cls();
cout << "你抽到了兑换券*" << sand;
Sleep(1000);
e = e + sand;
cls();
} else {
int sand;
srand((int)time(NULL));
sand = 2 + rand() % 13;
cls();
cout << "你抽到了碎片*" << sand;
Sleep(1000);
d = d + sand;
cls();
}
} else {
cls();
cout << "点券不足";
Sleep(1000);
cls();
break;
}
} else if (pt.x >= 152 && pt.x <= 217 && pt.y >= 136 && pt.y <= 147 && GetAsyncKeyState(0x11)) {
system("cls");
while (true) {
qp();
cout << "异次元管理者之刃(50碎片) 碎片(5兑换券) 碎片*50(240兑换券) 退出";
GetCursorPos(&pt);
if (pt.x >=0 && pt.x <=197 &&pt.y >=24 &&pt.y <=35 && GetAsyncKeyState(0x11)) {
if (d >= 50) {
cls();
d -= 50;
ysyh = true;
cout << "兑换成功";
Sleep(1000);
cls();
break;
} else {
cls();
cout << "碎片少了";
Sleep(1000);
cls();
break;
}
} else if (pt.x >=240 && pt.x <=350 &&pt.y >=24 &&pt.y <=35 && GetAsyncKeyState(0x11)) {
if (e >= 5) {
cls();
e -= 5;
d++;
cout << "兑换成功";
Sleep(1000);
cls();
break;
} else {
cls();
cout << "兑换券少了";
Sleep(1000);
cls();
break;
}
} else if (pt.x >=392 && pt.x <=540 &&pt.y >=24 &&pt.y <=35 && GetAsyncKeyState(0x11)) {
if (e >= 240) {
cls();
e -= 240;
d += 50;
cout << "兑换成功";
Sleep(1000);
cls();
break;
} else {
cls();
cout << "兑换券少了";
Sleep(1000);
cls();
break;
}
} else if (pt.x >=584 && pt.x <=612 &&pt.y >=24 &&pt.y <=35 && GetAsyncKeyState(0x11)) {
cls();
break;
}
}
} else if (pt.x >= 248 && pt.x <= 275 && pt.y >= 136 && pt.y <= 147 && GetAsyncKeyState(0x11)) {
cls();
break;
}
}
} else if (pt.x >= 784 && pt.x <= 844 && pt.y >= 24 && pt.y <= 39 && GetAsyncKeyState(0x11)) {
cls();
while (true) {
then_not();
qp();
cout << "纳米晶体*1000(100点券) 外骨骼头盔(1000纳米晶体) 外骨骼胸甲(1000纳米晶体) 外骨骼腿甲(1000纳米晶体) 退出";
GetCursorPos(&pt);
if (pt.x >= 0 && pt.x <= 181 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (dj >= 100) {
cls();
dj -= 100;
nmjt += 1000;
cout << "购买成功";
Sleep(1000);
system("cls");
break;
} else {
cls();
cout << "点券不足";
Sleep(1000);
cls();
break;
}
} else if (pt.x >= 257 && pt.x <= 450 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (nmjt >= 1000) {
cls();
nmjt -= 1000;
wgg_tk = true;
cout << "购买成功";
Sleep(1000);
cls();
break;
} else {
cls();
cout << "纳米晶体不足";
Sleep(1000);
cls();
break;
}
} else if (pt.x >= 512 && pt.x <= 709 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (nmjt >= 1000) {
cls();
nmjt -= 1000;
wgg_xj = true;
cout << "购买成功";
Sleep(1000);
cls();
break;
} else {
cls();
cout << "纳米晶体不足";
Sleep(1000);
cls();
break;
}
} else if (pt.x >= 768 && pt.x <= 965 && pt.y >= 24 && pt.y <= 38 && GetAsyncKeyState(0x11)) {
if (nmjt >= 1000) {
cls();
nmjt -= 1000;
wgg_tj = true;
cout << "购买成功";
Sleep(1000);
cls();
break;
} else {
cls();
cout << "纳米晶体不足";
Sleep(1000);
cls();
break;
}
} else if(pt.x >=1025 && pt.x <=1052 &&pt.y >=24 &&pt.y <=38 && GetAsyncKeyState(0x11)){
cls();
break;
}
}
} else if (GetAsyncKeyState(0x1b)) {
system("cls");
cout << "游戏结束";
mnb();
exit(0);
}
}
return 0;
}
朱优扬在2021-06-09 18:39:05追加了内容
@王子逸 帮我看看~
朱优扬在2021-06-10 20:35:51追加了内容
日常顶帖……
朱优扬在2021-06-11 13:11:38追加了内容
ding
新手启示者
求赞!!
https://dev.codingtang.com/#/share?uuid=6ebc385a1c994f67b253fa2adfda3297
https://dev.codingtang.com/#/share?uuid=8ad263f23a2441e8b61cc16537ff11ea
https://dev.codingtang.com/#/share?uuid=be5e3322bded49a7aa632265f34a4710
https://dev.codingtang.com/#/share?uuid=48e64bb1cacf4981999855fbbc5ad592
https://dev.codingtang.com/#/share?uuid=67870be27ff94eb4b9651c37db1a7ed4
https://dev.codingtang.com/#/share?uuid=c8aba8872f4342cc87454315c7ba7365
https://dev.codingtang.com/#/share?uuid=5169363c63e04ff0b7a9051f8c424f87
https://dev.codingtang.com/#/share?uuid=180f7bae29764c2b80b022e4441151fa
初级天翼
cout<<"大佬牛*!!!"<<endl;
cout<<"大佬牛*!!!"<<endl;
cout<<"大佬牛*!!!"<<endl;