cout<<"对你造成伤害35点"<<endl;
Sleep(500);
hp-=35;
cout<<"剩余血量"<<hp<<endl;
Sleep(1000);
cls
continue;
}if(an==2){
cout<<"你回血80点"<<endl;
Sleep(500);
hp+=80;
if(hp>s.bld)hp=s.bld;
cout<<"剩余血量"<<hp;
cout<<"法师扬起了武士刀劈在你身上"<<endl;
Sleep(500);
cout<<"对你造成伤害35点"<<endl;
Sleep(500);
hp-=35;
cout<<"剩余血量"<<hp<<endl;
Sleep(1000);
cls
continue;
}
}if(an==2){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你对紫焰法师造成了"<<s.atk<<"点伤害"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"法师剩余血量"<<hp1<<endl;
Sleep(500);
cout<<"法师扬起了武士刀劈在你身上"<<endl;
Sleep(500);
cout<<"对你造成伤害35点"<<endl;
Sleep(500);
hp-=35;
cout<<"剩余血量"<<hp<<endl;
Sleep(1000);
cls
continue;
}if(an==2){
cout<<"法师扬起武士刀劈在你身上"<<endl;
Sleep(500);
cout<<"对你造成伤害"<<35-s.dfd<<"点"<<endl;
Sleep(500);
hp-=(35-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(500);
cout<<"法师受到"<<s.dfd/2<<"点反弹伤害"<<endl;
Sleep(500);
hp1-=s.dfd/2;
cout<<"法师剩余血量"<<hp1<<endl;
Sleep(1000);
cls
continue;
}
}
}if(k<5){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你对紫焰法师造成了"<<s.atk<<"点伤害"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"法师剩余血量"<<hp1<<endl;
Sleep(500);
cout<<"法师扬起了武士刀劈在你身上"<<endl;
Sleep(500);
cout<<"对你造成伤害35点"<<endl;
Sleep(500);
hp-=35;
cout<<"剩余血量"<<hp<<endl;
Sleep(1000);
k++;
cls
continue;
}if(an==2){
cout<<"法师扬起武士刀劈在你身上"<<endl;
Sleep(500);
cout<<"对你造成伤害"<<35-s.dfd<<"点"<<endl;
Sleep(500);
hp-=(35-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(500);
cout<<"法师受到"<<s.dfd/2<<"点反弹伤害"<<endl;
Sleep(500);
hp1-=s.dfd/2;
cout<<"法师剩余血量"<<hp1<<endl;
Sleep(1000);
k++;
cls
continue;
}
}
}
Win1++;
}if(Win1==3){
cout<<"你的第四个对手是一个背后长了翅膀的变异人"<<endl;
Sleep(1000);
cout<<"他被称为翼人"<<endl;
Sleep(1000);
cout<<"他高高地飞在空中"<<endl;
Sleep(1000);
cout<<"手中拿着一把大刀在手中旋转着"<<endl;
Sleep(1000);
int w=0,an;
while(w<3){
if(hp<=0){
cout<<"你凉了......"<<endl;
}
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你发起了攻击"<<endl;
Sleep(500);
cout<<"翼人灵巧地躲开了"<<endl;
Sleep(500);
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成45点伤害"<<endl;
Sleep(500);
hp-=45;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
w++;
cls
}if(an==2){
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成"<<45-s.dfd<<"点伤害"<<endl;
Sleep(500);
hp-=(45-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
w++;
cls
}
}
cout<<"这还没完了"<<endl;
Sleep(500);
cout<<"得想办法把他打下来,不然打不死他"<<endl;
Sleep(500);
cout<<"既然羽弓已经无了,那么......"<<endl;
Sleep(500);
cout<<"试试飞盾吧"<<endl;
Sleep(1000);
cls
cout<<"你猛地把盾牌甩了出去"<<endl;
Sleep(500);
cout<<"盾牌以一道完美的弧线飞向了翼人的翅膀"<<endl;
Sleep(500);
cout<<"盾牌上的紫焰在翼人的翅膀上留下了一道黑色的伤口"<<endl;
Sleep(500);
cout<<"翼人大惊失色,连忙回过身去打开灭火器"<<endl;
Sleep(500);
cout<<"可是为时已晚,翼人已经坠落了下来"<<endl;
Sleep(500);
int t=3,hp1=650;
cls
while(t--){
if(hp<=0){
cout<<"你凉了......"<<endl;
Sleep(1000);
hp=s.bld;
return;
}
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你对翼人造成"<<s.atk<<"点伤害"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"翼人剩余血量"<<hp1<<endl;
Sleep(500);
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成45点伤害"<<endl;
Sleep(500);
hp-=45;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
cls
continue;
}if(an==2){
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成"<<45-s.dfd<<"点伤害"<<endl;
Sleep(500);
hp-=(45-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(500);
cout<<"翼人受到"<<s.dfd/2<<"点反弹伤害"<<endl;
Sleep(500);
hp1-=(s.dfd/2);
cout<<"翼人剩余血量"<<hp1<<"点"<<endl;
Sleep(1000);
cls
}
}
cout<<"翼人情急之下,连忙向后一退,随即展翅升空"<<endl;
Sleep(1000);
while(1){
if(hp<=0){
cout<<"你凉了......"<<endl;
hp=s.bld;
Sleep(1000);
return;
}if(hp1<=0){
cout<<"恭喜你,打败了翼人!"<<endl;
Sleep(500);
s.exp+=50;
if(s.exp>=50){
cout<<"恭喜!经验值达到50,等级+1!"<<endl;
s.lv++;
input(s,s.gender,s.iden);
s.exp=0;
}
break;
}
cout<<"是否甩盾?\n1.甩 2.不甩"<<endl;
cin>>an;
if(an==1){
srand(time(0));
if(rand()%2==0){
cout<<"很可惜,你打偏了"<<endl;
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你发起了攻击"<<endl;
Sleep(500);
cout<<"翼人灵巧地躲开了"<<endl;
Sleep(500);
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成45点伤害"<<endl;
Sleep(500);
hp-=45;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
w++;
cls
continue;
}if(an==2){
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成"<<45-s.dfd<<"点伤害"<<endl;
Sleep(500);
hp-=(45-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
w++;
cls
continue;
}
}else{
cout<<"你打中了!翼人再一次落到地面"<<endl;
int t=3;
while(t--){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你对翼人造成"<<s.atk<<"点伤害"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"翼人剩余血量"<<hp1<<endl;
Sleep(500);
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成45点伤害"<<endl;
Sleep(500);
hp-=45;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
cls
continue;
}if(an==2){
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成"<<45-s.dfd<<"点伤害"<<endl;
Sleep(500);
hp-=(45-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(500);
cout<<"翼人受到"<<s.dfd/2<<"点反弹伤害"<<endl;
Sleep(500);
hp1-=(s.dfd/2);
cout<<"翼人剩余血量"<<hp1<<"点"<<endl;
Sleep(1000);
cls
continue;
}if(hp<=0){
cout<<"你凉了......"<<endl;
Sleep(1000);
hp=s.bld;
return;
}
}
}
}if(an==2){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你发起了攻击"<<endl;
Sleep(500);
cout<<"翼人灵巧地躲开了"<<endl;
Sleep(500);
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成45点伤害"<<endl;
Sleep(500);
hp-=45;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
w++;
cls
continue;
}if(an==2){
cout<<"翼人抡起大刀朝你劈了过来"<<endl;
Sleep(500);
cout<<"对你造成"<<45-s.dfd<<"点伤害"<<endl;
Sleep(500);
hp-=(45-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
w++;
cls
continue;
}
}
}
Win1++;
}if(Win1==4){
if(!laboratory){
cout<<"第五个对手是枪客,他拥有空间魔法"<<endl;
Sleep(1000);
cout<<"你的面前突然出现一个蓝色的光圈,法师传送了出来,手上拿着的是空间扭曲出来的一把镜面长枪。"<<endl;
Sleep(1000);
int j=4;
while(j--){
if(hp<=0){
cout<<"你凉了......"<<endl;
Sleep(1000);
hp=s.bld;
cls
return;
}
cout<<"1.攻击 2.防御"<<endl;
int an;cin>>an;
if(an==1){
cout<<"你向枪客发起攻击,而枪客却突然消失"<<endl;
Sleep(500);
cout<<"枪客出现在你身后,高举长枪,狠狠朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成50点伤害!"<<endl;
Sleep(500);
hp-=50;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
cls
continue;
}if(an==2){
cout<<"枪客高举长枪朝你狠狠刺去!"<<endl;
Sleep(500);
cout<<"对你造成"<<50-s.dfd<<"点伤害!"<<endl;
Sleep(500);
hp-=(50-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
cls
continue;
}
}
cout<<"又一次的挫败,让你感到十分难受"<<endl;
Sleep(1000);
cout<<"于是你打算故技重施,再次飞盾"<<endl;
Sleep(1000);
cout<<"只见盾牌再次以一道弧线飞了出去"<<endl;
Sleep(1000);
cout<<"枪客就像是扇走一个蚊子一样随手一挥,打开了一道传送门"<<endl;
Sleep(700);
cout<<"盾牌顿时消失在传送门中"<<endl;
Sleep(1000);
cout<<"下一秒,盾牌出现在你身后,朝你重重一击,把你也打进了传送门"<<endl;
Sleep(700);
cout<<"枪客又是随手一挥,把两个传送门都关闭了"<<endl;
Sleep(1200);
cls
cout<<"在这里,空间和时间这两个概念都消失了"<<endl;
Sleep(1000);
cout<<"你看到自己穿过一个又一个地点,却没有办法停下这永无止境的跳跃"<<endl;
Sleep(1000);
cout<<"突然,在这个黑暗的地方,有一个地点突然闪出耀眼的蓝光"<<endl;
Sleep(1000);
cout<<"紧接着,你被吸了过去,猝不及防的穿越到了一个地点,却撞到墙上晕了过去"<<endl;
Sleep(1500);
cls
cout<<"你醒了过来,环顾四周。"<<endl;
Sleep(1000);
cout<<"你的四周都是废弃的仪器,看来这里曾经是一个实验室"<<endl;
Sleep(1000);
cout<<"解锁副本:废弃实验室!"<<endl;
laboratory=true;
Sleep(2000);
return;
}if(laboratory&&(!bag[1004])){
cout<<"怎么,还没逛完实验室就再来,生怕自己不再死一次吗?"<<endl;
Sleep(2000);
return;
}if(laboratory&&bag[1004]){
cout<<"你看了看手中的空间转换器,看到了一个小小的开关"<<endl;
Sleep(1000);
cout<<"一段写着“屏蔽”,一段写着“传送”"<<endl;
Sleep(1000);
cout<<"开关正在“屏蔽”这一段,看来刚才就是因为它的屏蔽才让空间传送停止"<<endl;
Sleep(1000);
cout<<"你把它调成传送模式,然后下一秒,一道传送门出现了"<<endl;
Sleep(1000);
cout<<"你猛地跳了进去,来到了法师的面前"<<endl;
}
Sleep(1500);
cls
cout<<"对于你的从天而降,法师脸上起初出现了一丝惊讶的神色,但下一秒便消失了"<<endl;
Sleep(1000);
cout<<"“手下败将,又前来送死了?好,那我成全你!”"<<endl;
Sleep(1000);
cout<<"你却微微一下,随手将空间转换器调成了屏蔽模式"<<endl;
Sleep(1000);
cout<<"刚刚进入传送门的枪客却像是进了马蜂窝一样弹了出来,狠狠地摔在了地上"<<endl;
Sleep(1000);
cout<<"你冷笑一声,说:“现在,别用你那无聊的魔法了,来场真男人的战斗!”"<<endl;
Sleep(1500);
cls
int k=0;int hp1=800;
while(1){
int an;
if(hp<=0){
cout<<"你凉了......"<<endl;
Sleep(1000);
cls
hp=s.bld;
return;
}if(hp1<=0){
cout<<"恭喜你,你打败了枪客!"<<endl;
Sleep(500);
cout<<"获得50经验!"<<endl;
s.exp+=50;
Sleep(500);
if(s.exp>=50){
cout<<"经验值达到50!等级+1!"<<endl;
s.lv++;
s.exp=0;
input(s,s.gender,s.iden);
Sleep(500);
}break;
}if(k>5){
cout<<"是否使用技能"<<s.super<<"?(伤害"<<s.super_atk<<")\n";
cout<<"1.用 2.不用"<<endl;
cin>>an;
if(an==1){
cout<<"1.攻击 2.回血"<<endl;
cin>>an;
if(an==1){
cout<<"你使用了技能“"<<s.super<<"”!"<<endl;
cout<<"对枪客造成伤害"<<s.super_atk<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.super_atk;
cout<<"枪客剩余血量:"<<hp1<<endl;
Sleep(500);
if(s.remain_atk){
cout<<"你对枪客造成了"<<s.remain_atk<<"点持续伤害"<<endl;
hp1-=s.remain_atk;
Sleep(200);
}
cout<<"枪客剩余血量:"<<hp1<<endl;
Sleep(1000);
cout<<"枪客高高举起长枪,狠狠朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成50点伤害!"<<endl;
Sleep(500);
hp-=50;
cout<<"剩余血量:"<<hp<<"点"<<endl;
Sleep(1000);
k-=5;
cls
continue;
}if(an==2){
cout<<"你为自己回血90点!"<<endl;
Sleep(1000);
hp+=90;
cout<<"枪客高高举起长枪,狠狠朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成50点伤害!"<<endl;
Sleep(500);
hp-=50;
cout<<"剩余血量:"<<hp<<"点"<<endl;
Sleep(1000);
k-=5;
cls
continue;
}
}if(an==2){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你对枪客造成伤害"<<s.atk<<"点!"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"枪客剩余血量"<<hp1<<"点"<<endl;
Sleep(1000);
cout<<"枪客高举长枪朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成50点伤害!"<<endl;
Sleep(500);
hp-=50;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
k++;
cls
continue;
}if(an==2){
cout<<"枪客高举长枪朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成"<<50-s.dfd<<"点伤害!"<<endl;
Sleep(500);
hp-=(50-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
cout<<"枪客受到"<<s.dfd/2<<"点反弹伤害!"<<endl;
Sleep(500);
hp1-=(s.dfd/2);
cout<<"枪客剩余血量"<<hp1<<"点!"<<endl;
Sleep(1000);
k++;
cls
continue;
}
}
}if(k<=5){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"你对枪客造成伤害"<<s.atk<<"点!"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"枪客剩余血量"<<hp1<<"点"<<endl;
Sleep(500);
cout<<"枪客高举长枪朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成50点伤害!"<<endl;
Sleep(500);
hp-=50;
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
k++;
cls
continue;
}if(an==2){
cout<<"枪客高举长枪朝你刺去!"<<endl;
Sleep(500);
cout<<"对你造成"<<50-s.dfd<<"点伤害!"<<endl;
Sleep(500);
hp-=(50-s.dfd);
cout<<"剩余血量"<<hp<<"点"<<endl;
Sleep(1000);
cout<<"枪客受到"<<s.dfd/2<<"点反弹伤害!"<<endl;
Sleep(500);
hp1-=(s.dfd/2);
cout<<"枪客剩余血量"<<hp1<<"点!"<<endl;
Sleep(1000);
k++;
cls
continue;
}
}
}
Win1++;
}if(Win1==5){
cls
cout<<"Deathness..."<<endl;
Sleep(700);
cout<<"Will Always Gets You......"<<endl;
Sleep(1000);
cout<<"If You Do Not Belive......"<<endl;
Sleep(800);
cout<<"I Will Let You See......"<<endl;
Sleep(1000);
cls
cout<<"这阵震耳欲聋的低沉咆哮过后,一个黑色的裂缝出现了,一个女人缓缓走了出来"<<endl;
Sleep(700);
cout<<"“我,是死灵法师......”"<<endl;
Sleep(700);
cout<<"一个鬼魅的笑容出现在了死灵法师脸上"<<endl;
Sleep(600);
cout<<"她举起了法杖狠狠地甩了一圈......"<<endl;
Sleep(600);
cout<<"一个巨大的黑色裂缝出现了......"<<endl;
Sleep(700);
cout<<"里面出来的......是一个个怪物......"<<endl;
Sleep(500);
cout<<"“感受逝者的愤怒吧......”"<<endl;
Sleep(600);
cls
cout<<"3只灵魂仕者朝你扑来!"<<endl;
Sleep(500);
int k=0,hp1=320,hp2=340,hp3=360,remain_alive=3,an;
bool death1=false,death2=false,death3=false;
while(1){
if(hp<=0){
cout<<"你死了......"<<endl;
Sleep(1000);
hp=s.bld;
return;
}if(hp1<=0){
cout<<"你杀死了一只灵魂仕者!"<<endl;
Sleep(500);
remain_alive--;
death1=true;
cout<<"还剩"<<remain_alive<<"个"<<endl;
Sleep(500);
}if(hp2<=0){
cout<<"你杀死了一只灵魂仕者!"<<endl;
Sleep(500);
remain_alive--;
death2=true;
cout<<"还剩"<<remain_alive<<"个"<<endl;
Sleep(500);
}if(hp3<=0){
cout<<"你杀死了一只灵魂仕者!"<<endl;
Sleep(500);
remain_alive--;
death3=true;
cout<<"还剩"<<remain_alive<<"个"<<endl;
Sleep(500);
}
if(k>5){
cout<<"是否使用技能“"<<s.super<<"(伤害"<<s.super_atk<<")?\n1.用 2.不用"<<endl;
cin>>an;
if(an==1){
cout<<"1.攻击 2.回血"<<endl;
cin>>an;
if(an==1){
cout<<"1.单攻 2.群攻"<<endl;
cin>>an;
if(an==1){
int r=1+rand()%3;
if(r==1){
if(death1)r++;
}if(r==1){
cout<<"你对灵魂仕者造成了"<<s.super_atk<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.super_atk;
cout<<"灵魂仕者剩余血量:"<<hp1<<"点!"<<endl;
Sleep(500);
}if(r==2){
if(death2)r++;
}if(r==2){
cout<<"你对灵魂仕者造成了"<<s.super_atk<<"点伤害!"<<endl;
Sleep(500);
hp2-=s.super_atk;
cout<<"灵魂仕者剩余血量:"<<hp2<<"点!"<<endl;
Sleep(500);
}if(r==3){
if(death3)r++;
}if(r==3){
cout<<"你对灵魂仕者造成了"<<s.super_atk<<"点伤害!"<<endl;
Sleep(500);
hp3-=s.super_atk;
cout<<"灵魂仕者剩余血量"<<hp3<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k-=5;
continue;
}if(an==2){
cout<<"你使出了回旋斩,同时打到了"<<remain_alive<<"只仕者!"<<endl;
Sleep(500);
if(!death1){
cout<<"你对灵魂仕者造成了"<<s.super_atk/3<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.super_atk/3;
cout<<"灵魂仕者剩余血量"<<hp1<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"你对灵魂仕者造成了"<<s.super_atk/3<<"点伤害!"<<endl;
Sleep(500);
hp2-=s.super_atk/3;
cout<<"灵魂仕者剩余血量"<<hp1<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"你对灵魂仕者造成了"<<s.super_atk/3<<"点伤害!"<<endl;
Sleep(500);
hp3-=s.super_atk/3;
cout<<"灵魂仕者剩余血量"<<hp1<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k-=5;
continue;
}
}if(an==2){
cout<<"你回血100点!"<<endl;
hp+=100;
if(hp>s.bld)hp=s.bld;
Sleep(500);
cout<<"剩余血量"<<hp<<"点!"<<endl;
if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k-=5;
continue;
}
}if(an==2){
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"1.单攻 2.群攻"<<endl;
cin>>an;
if(an==1){
int r=1+rand()%3;
if(r==1){
if(death1)r++;
}if(r==1){
cout<<"你对灵魂仕者造成了"<<s.atk<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"灵魂仕者剩余血量:"<<hp1<<"点!"<<endl;
Sleep(500);
}if(r==2){
if(death2)r++;
}if(r==2){
cout<<"你对灵魂仕者造成了"<<s.atk<<"点伤害!"<<endl;
Sleep(500);
hp2-=s.atk;
cout<<"灵魂仕者剩余血量:"<<hp2<<"点!"<<endl;
Sleep(500);
}if(r==3){
if(death3)r++;
}if(r==3){
cout<<"你对灵魂仕者造成了"<<s.atk<<"点伤害!"<<endl;
Sleep(500);
hp3-=s.atk;
cout<<"灵魂仕者剩余血量"<<hp3<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k++;
continue;
}if(an==2){
cout<<"你使出了回旋斩,同时打到了"<<remain_alive<<"只仕者!"<<endl;
Sleep(500);
if(!death1){
cout<<"你对灵魂仕者造成了"<<s.atk/3<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.atk/3;
cout<<"灵魂仕者剩余血量"<<hp1<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"你对灵魂仕者造成了"<<s.atk/3<<"点伤害!"<<endl;
Sleep(500);
hp2-=s.atk/3;
cout<<"灵魂仕者剩余血量"<<hp2<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"你对灵魂仕者造成了"<<s.atk/3<<"点伤害!"<<endl;
Sleep(500);
hp3-=s.atk/3;
cout<<"灵魂仕者剩余血量"<<hp3<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k++;
continue;
}
}if(an==2){
if(!death1){
cout<<"灵魂仕者对你造成了"<<25-s.dfd<<"点伤害!"<<endl;
Sleep(500);
hp-=25-s.dfd;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了"<<25-s.dfd<<"点伤害!"<<endl;
Sleep(500);
hp-=25-s.dfd;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了"<<25-s.dfd<<"点伤害!"<<endl;
Sleep(500);
hp-=25-s.dfd;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者受到了"<<s.dfd/2<<"点反弹伤害!"<<endl;
Sleep(500);
hp1-=s.dfd/2;
cout<<"灵魂仕者剩余血量:"<<hp1<<"点"<<endl;
}if(!death2){
cout<<"灵魂仕者受到了"<<s.dfd/2<<"点反弹伤害!"<<endl;
Sleep(500);
hp2-=s.dfd/2;
cout<<"灵魂仕者剩余血量:"<<hp2<<"点"<<endl;
}if(!death3){
cout<<"灵魂仕者受到了"<<s.dfd/2<<"点反弹伤害!"<<endl;
Sleep(500);
hp3-=s.dfd/2;
cout<<"灵魂仕者剩余血量:"<<hp3<<"点"<<endl;
}
cls
k++;
continue;
}
}
}else{
cout<<"1.攻击 2.防御"<<endl;
cin>>an;
if(an==1){
cout<<"1.单攻 2.群攻"<<endl;
cin>>an;
if(an==1){
int r=1+rand()%3;
if(r==1){
if(death1)r++;
}if(r==1){
cout<<"你对灵魂仕者造成了"<<s.atk<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.atk;
cout<<"灵魂仕者剩余血量:"<<hp1<<"点!"<<endl;
Sleep(500);
}if(r==2){
if(death2)r++;
}if(r==2){
cout<<"你对灵魂仕者造成了"<<s.atk<<"点伤害!"<<endl;
Sleep(500);
hp2-=s.atk;
cout<<"灵魂仕者剩余血量:"<<hp2<<"点!"<<endl;
Sleep(500);
}if(r==3){
if(death3)r++;
}if(r==3){
cout<<"你对灵魂仕者造成了"<<s.atk<<"点伤害!"<<endl;
Sleep(500);
hp3-=s.atk;
cout<<"灵魂仕者剩余血量"<<hp3<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k++;
continue;
}if(an==2){
cout<<"你使出了回旋斩,同时打到了"<<remain_alive<<"只仕者!"<<endl;
Sleep(500);
if(!death1){
cout<<"你对灵魂仕者造成了"<<s.atk/3<<"点伤害!"<<endl;
Sleep(500);
hp1-=s.atk/3;
cout<<"灵魂仕者剩余血量"<<hp1<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"你对灵魂仕者造成了"<<s.atk/3<<"点伤害!"<<endl;
Sleep(500);
hp2-=s.atk/3;
cout<<"灵魂仕者剩余血量"<<hp2<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"你对灵魂仕者造成了"<<s.atk/3<<"点伤害!"<<endl;
Sleep(500);
hp3-=s.atk/3;
cout<<"灵魂仕者剩余血量"<<hp3<<"点!"<<endl;
Sleep(500);
}if(!death1){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death2){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}if(!death3){
cout<<"灵魂仕者对你造成了25点伤害!"<<endl;
Sleep(500);
hp-=25;
cout<<"剩余血量:"<<hp<<"点!"<<endl;
Sleep(500);
}
cls
k++;
continue;