#include<bits/stdc++.h>
using namespace std;
int sum=0,sum2=0;
int bdwz=0;
int xd1(int cs)
{
sum+=cs;
int dbd=0;
if(sum>=80&&dbd%2==0)
{
int dbdwz=rand()%10+1;
dbd++;
cs--;
int s=rand()%2;
if(s==0)
{
int sss=rand()%7;
if(sss==1)
cout<<"姬子"<<endl;
else if(sss==2)
cout<<"彦卿"<<endl;
else if(sss==3)
cout<<"瓦尔特"<<endl;
else if(sss==4)
cout<<"杰帕德"<<endl;
else if(sss==5)
cout<<"白露"<<endl;
else if(sss==6)
cout<<"布洛妮娅"<<endl;
else if(sss==0)
cout<<"克拉拉"<<endl;
}
else if(s==1)
{
cout<<"波提欧"<<endl;
}
int bd=cs/10;
for(int i=1;i<=cs;i++)
{
if(i%10==1)
{
bdwz=rand()%10+1;
}
int jl=rand()%10000;
if(jl>=1&&jl<=60)
{
cout<<"波提欧"<<endl;
bdwz++;
}
if(i%10==bdwz)
{
int gz=rand()%2;
int sx=rand()%3;
if(gz==1)
{
if(sx==1)
cout<<"佩拉"<<endl;
else if(sx==2)
cout<<"卢卡"<<endl;
else cout<<"虎克"<<endl;
}
else
cout<<"不知名四星光锥"<<endl;
}
else if(jl>=70&&jl<=325)
{
int gz=rand()%2;
int sx=rand()%3;
if(gz==1)
{
if(sx==1)
cout<<"佩拉"<<endl;
else if(sx==2)
cout<<"卢卡"<<endl;
else cout<<"虎克"<<endl;
}
else cout<<"不知名四星光锥"<<endl;
}
else
{
cout<<"不知名三星光锥"<<endl;
}
}
}
else{
int bd=cs/10;
for(int i=1;i<=cs;i++)
{
if(i%10==1)
{
bdwz=rand()%10+1;
}
int jl=rand()%10000;
if(jl>=1&&jl<=60)
{
cout<<"波提欧"<<endl;
bdwz++;
}
if(i%10==bdwz)
{
int gz=rand()%2;
int sx=rand()%3;
if(gz==1)
{
if(sx==1)
cout<<"佩拉"<<endl;
else if(sx==2)
cout<<"卢卡"<<endl;
else cout<<"虎克"<<endl;
}
else
cout<<"不知名四星光锥"<<endl;
}
else if(jl>=70&&jl<=325)
{
int gz=rand()%2;
int sx=rand()%3;
if(gz==1)
{
if(sx==1)
cout<<"佩拉"<<endl;
else if(sx==2)
cout<<"卢卡"<<endl;
else cout<<"虎克"<<endl;
}
else cout<<"不知名四星光锥"<<endl;
}
else
{
cout<<"不知名三星光锥"<<endl;
}
}
return 0;
}
}
int main(){
int s=1;
cout<<"欢迎使用星铁抽卡模拟器(技术不成熟,之后改进)";
while(s==1)
{
int c;
cout<<endl<<"输入1为波提欧卡池"<<endl;
cin>>c;
if(c==1)
{
int cs;
cout<<"请输入您想抽的抽数"<<endl;
cin>>cs;
xd1(cs);
}
cout<<"请问您还要继续抽卡吗?(1为继续,其他为退出)"<<endl;
int ss;
cin>>ss;
if(ss!=1)
s=0;
}
cout<<"您一共在限定卡池1抽了"<<sum<<"抽,作者提示您:别尼玛抽了,流萤卡池要来了!";
system("pause") ;
return 0;
}
水一篇(模拟星铁卡池)
最新推荐文章于 2024-08-21 11:22:17 发布