这是我自己做的权益卡项目,这么一些就做了两个月
#include<bits/stdc++.h>
using namespace std;
#ifdef _WIN32
#include <Windows.h>
#define SLEEP(ms) Sleep(ms)
#else
#include <unistd.h>
#define SLEEP(ms) usleep((ms) * 1000)
#endif
#define int long long
map<string,int> sheet;
map<string,int> mine;
pair<string,bool> R_T[11] = {{"0",0},{"滑冰",0},{"滑雪",0},{"冰壶",0},{"冰球",0},{"滑雪登山",0},{"冬季两项",0},{"嘉德罗斯",0},{"格瑞",0},{"雷狮",0},{"安迷修",0}};
pair<string,bool> SR_T[11] = {{"0",0},{"健康福",0},{"勇气福",0},{"诚信福",0},{"智慧福",0},{"友善蛇",0},{"诚信蛇",0},{"健康蛇",0},{"智慧蛇",0}};
pair<string,bool> SSR_T[11] = {{"0",0},{"运动卡",0},{"R级大礼包",0},{"SR级大礼包",0},{"SSR级大礼包",0},{"金",0},{"勤奋蛇",0},{"求知福",0}};
pair<string,bool> UR_T[11] = {{"0",0},{"凹凸世界",0},{"蛇年大礼包",0},{"超级福卡",0},{"究极至尊无敌卡",0}};
bool CJ[11],CH[5];
string SCJ[11] = {"0","初出茅庐","运动大王","星辰汇聚","巳蛇圆满","五福临门","究极至尊","满墙荣誉","负债累累","抽卡战神"};
int gld = 0,__78__ = 0;
int D = 10000;
int Rsp = 0,SRsp = 0,SSRsp = 0,URsp = 0,t,N,ans,LX = 1;
string s;
int BD = 0;
int currentSlot = 1;
set<string> kapian;
void tongji(){
cout<<"==========统计面板=========="<<endl;
SLEEP(300);
cout<<"总抽卡次数:"<<BD<<endl;
SLEEP(300);
cout<<"距离小保底还有:"<<100 - (BD % 100)<<"抽"<<endl;
SLEEP(300);
cout<<"距离大保底还有:"<<1000 - (BD % 1000)<<"抽"<<endl;
SLEEP(300);
cout<<"当前抽卡机会:"<<D<<endl;
SLEEP(300);
cout<<"当前存档槽:"<<currentSlot<<endl;
SLEEP(300);
cout<<"已收集卡牌种类:"<<kapian.size()<<"/43"<<endl;
SLEEP(300);
cout<<"称号:"<<endl;
if(CH[1])cout<<"肝帝 ";
if(CH[2])cout<<"债王 ";
if(CH[3])cout<<"完美主义者"<<endl;
SLEEP(300);
cout<<"成就:"<<endl;
for(int i=1;i<=9;i++){
cout<<SCJ[i]<<":"<<(CJ[i]?"已拥有":"未拥有")<<endl;
SLEEP(300);
}
cout<<"隐藏成就:";
if(CJ[10]){
cout<<"完美主义者,达成!"<<endl;
}else{
cout<<"未拥有"<<endl;
}
cout<<"==========================="<<endl;
}
void jieshao(){
cout<<"========================================"<<endl;
SLEEP(500);
cout<<" 欢迎来到权益卡完美升级版!(版本号:2.44)"<<endl;
SLEEP(500);
cout<<"========================================"<<endl;
SLEEP(800);
cout<<endl;
cout<<"【基础目标】"<<endl;
SLEEP(300);
cout<<"收集各种稀有卡牌,填满你的展厅"<<endl;
SLEEP(300);
cout<<"从R级到UR级,稀有度越高越难获得"<<endl;
SLEEP(300);
cout<<"终极目标:获得究极至尊无敌卡!"<<endl;
SLEEP(800);
cout<<endl;
cout<<"【核心资源】"<<endl;
SLEEP(300);
cout<<"D = 抽卡次数,抽卡消耗D"<<endl;
SLEEP(300);
cout<<"异能值 = 融卡获得,用于合成高级卡包"<<endl;
SLEEP(300);
cout<<"卡牌 = 可抽卡获得,可融卡兑换异能值"<<endl;
SLEEP(800);
cout<<endl;
cout<<"【操作流程】"<<endl;
SLEEP(300);
cout<<"0抽卡 -> 获得基础卡牌"<<endl;
SLEEP(300);
cout<<"1融卡 -> 消耗卡牌获得异能值,合成R/SR/SSR/UR卡包"<<endl;
SLEEP(300);
cout<<"3兑换 -> 多张低级卡合成高级卡"<<endl;
SLEEP(300);
cout<<"5回炉 -> 卡牌变回抽卡次数(应急用)"<<endl;
SLEEP(800);
cout<<endl;
cout<<"【重要提示】"<<endl;
SLEEP(300);
cout<<"贷款有风险,借卡需谨慎,N次融卡后必须还清"<<endl;
SLEEP(300);
cout<<"展厅可展示你的收藏,但放入的卡无法使用"<<endl;
SLEEP(300);
cout<<"记得经常7存档,数据丢失概不负责"<<endl;
SLEEP(800);
cout<<"对了,抽卡小保底100次一个,大保底1000次一个呦!小保底必出稀有卡,大保底必出除运动外的稀有卡!"<<endl;
SLEEP(800);
cout<<endl;
cout<<"祝你好运,欧皇附体!"<<endl;
SLEEP(500);
cout<<"========================================"<<endl;
}
void saveGame(){
string filename = "save" + to_string(currentSlot) + ".txt";
ofstream fout(filename);
fout<<D<<endl;
fout<<Rsp<<" "<<SRsp<<" "<<SSRsp<<" "<<URsp<<endl;
fout<<N<<" "<<gld<<" "<<ans<<" "<<LX<<endl;
fout<<__78__<<endl;
fout<<BD<<endl;
for(int i=1;i<=10;i++)fout<<CJ[i]<<" ";
fout<<endl;
for(int i=1;i<=4;i++)fout<<CH[i]<<" ";
fout<<endl;
fout<<mine.size()<<endl;
for(auto &p:mine){
fout<<p.first<<" "<<p.second<<endl;
}
for(int i=1;i<=10;i++)fout<<R_T[i].second<<" ";
fout<<endl;
for(int i=1;i<=8;i++)fout<<SR_T[i].second<<" ";
fout<<endl;
for(int i=1;i<=7;i++)fout<<SSR_T[i].second<<" ";
fout<<endl;
for(int i=1;i<=4;i++)fout<<UR_T[i].second<<" ";
fout<<endl;
fout.close();
cout<<"存档"<<currentSlot<<"成功!"<<endl;
}
bool loadGame(){
string filename = "save" + to_string(currentSlot) + ".txt";
ifstream fin(filename);
if(!fin){
cout<<"存档"<<currentSlot<<"不存在,开始新游戏。"<<endl;
return false;
}
fin>>D;
fin>>Rsp>>SRsp>>SSRsp>>URsp;
fin>>N>>gld>>ans>>LX;
fin>>__78__;
fin>>BD;
bool state;
for(int i=1;i<=10;i++){fin>>state;CJ[i]=state;}
for(int i=1;i<=4;i++){fin>>state;CH[i]=state;}
int cardCount;
fin>>cardCount;
mine.clear();
string name;
int cnt;
for(int i=0;i<cardCount;i++){
fin>>name>>cnt;
mine[name]=cnt;
}
for(int i=1;i<=10;i++){fin>>state;R_T[i].second=state;}
for(int i=1;i<=8;i++){fin>>state;SR_T[i].second=state;}
for(int i=1;i<=7;i++){fin>>state;SSR_T[i].second=state;}
for(int i=1;i<=4;i++){fin>>state;UR_T[i].second=state;}
fin.close();
kapian.clear();
for(auto &p : mine){
if(p.second > 0)kapian.insert(p.first);
}
cout<<"读档"<<currentSlot<<"成功!"<<endl;
return true;
}
void newGame(){
string filename = "save" + to_string(currentSlot) + ".txt";
remove(filename.c_str());
D=10000;
Rsp=SRsp=SSRsp=URsp=0;
N=0;
gld=0;
ans=0;
LX=1;
__78__=0;
currentSlot = 1;
mine.clear();
for(int i=1;i<=10;i++)R_T[i].second=0;
for(int i=1;i<=8;i++)SR_T[i].second=0;
for(int i=1;i<=7;i++)SSR_T[i].second=0;
for(int i=1;i<=4;i++)UR_T[i].second=0;
for(int i=1;i<=10;i++)CJ[i]=0;
for(int i=1;i<=4;i++)CH[i]=0;
BD=0;
kapian.clear();
cout<<"新游戏"<<currentSlot<<"开始!"<<endl;
}
string Draw(){
int a;
if(BD % 1000 == 0 && BD != 0){
a = rand() % 20 + 1;
if(a <= 10){
a = rand() % 200 + 1;
if(a <= 100)return "安迷修";
else if(a <= 140)return "雷狮";
else if(a <= 170)return "格瑞";
else if(a <= 199)return "嘉德罗斯";
return "金";
}else if(a <= 14){
a = rand() % 5 + 1;
if(a <= 3)return "健康福";
if(a <= 4)return "诚信福";
a = rand() % 10 + 1;
if(a <= 5)return "勇气福";
if(a <= 9)return "智慧福";
return "求知福";
}else{
a = rand() % 10 + 1;
if(a <= 4)return "智慧蛇";
else if(a <= 7)return "友善蛇";
else if(a <= 9)return "健康蛇";
a = rand() % 3 + 1;
if(a <= 2)return "诚信蛇";
else return "勤奋蛇";
}
}else if(BD % 100 == 0 && BD != 0){
a = rand() % 10 + 1;
if(a <= 9){
a = rand() % 30 + 1;
if(a <= 10)return "滑冰";
if(a <= 17)return "冬季两项";
if(a <= 23)return "滑雪登山";
if(a <= 27)return "冰球";
if(a <= 29)return "冰壶";
return "滑雪";
}
a = rand() % 20 + 1;
if(a <= 10){
a = rand() % 200 + 1;
if(a <= 100)return "安迷修";
else if(a <= 140)return "雷狮";
else if(a <= 170)return "格瑞";
else if(a <= 199)return "嘉德罗斯";
return "金";
}else if(a <= 14){
a = rand() % 5 + 1;
if(a <= 3)return "健康福";
if(a <= 4)return "诚信福";
a = rand() % 10 + 1;
if(a <= 5)return "勇气福";
if(a <= 9)return "智慧福";
return "求知福";
}else{
a = rand() % 10 + 1;
if(a <= 4)return "智慧蛇";
else if(a <= 7)return "友善蛇";
else if(a <= 9)return "健康蛇";
a = rand() % 3 + 1;
if(a <= 2)return "诚信蛇";
else return "勤奋蛇";
}
}
a = rand() % 10 + 1;
if(a <= 7)return "R1";
if(a == 8){
a = rand() % 20 + 1;
if(a == 1){
a = rand() % 5 + 1;
if(a == 1){
a = rand() % 10 + 1;
if(a <= 5)return "健康福";
if(a <= 9)return "诚信福";
a = rand() % 10 + 1;
if(a <= 5)return "勇气福";
if(a <= 9)return "智慧福";
return "求知福";
}
a = rand() % 200 + 1;
if(a <= 100)return "智慧蛇";
else if(a <= 140)return "友善蛇";
else if(a <= 170)return "健康蛇";
else if(a <= 199)return "诚信蛇";
else return "勤奋蛇";
}else{
a = rand() % 2 + 1;
if(a == 1){
cout<<"卡牌被外星人抢走了。"<<endl;
}else{
cout<<"卡牌被外星小猫咪拿走了。"<<endl;
}
}
}
if(a == 9){
a = rand() % 30 + 1;
if(a <= 10)return "滑冰";
if(a <= 17)return "冬季两项";
if(a <= 23)return "滑雪登山";
if(a <= 27)return "冰球";
if(a <= 29)return "冰壶";
return "滑雪";
}
if(a == 10){
a = rand() % 10 + 1;
if(a <= 4){
a = rand() % 4 + 1;
if(a == 1)return "R2";
else if(a == 2)return "R3";
else if(a == 3)return "R4";
return "R5";
}else if(a <= 7){
a = rand() % 5 + 1;
if(a == 1)return "SR1";
else if(a == 2)return "SR2";
else if(a == 3)return "SR3";
else if(a == 4)return "SR4";
return "SR5";
}else if(a <= 9){
a = rand() % 5 + 1;
if(a == 1)return "SSR1";
else if(a == 2)return "SSR2";
else if(a == 3)return "SSR3";
else if(a == 4)return "SSR4";
return "SSR5";
}else{
a = rand() % 2000 + 1;
if(a <= 1000)return "安迷修";
else if(a <= 1400)return "雷狮";
else if(a <= 1700)return "格瑞";
else if(a <= 1999)return "嘉德罗斯";
return "金";
}
}
return " ";
}
void R(){
map<string,int>::iterator it;
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
while(Rsp < 5000){
cout<<"当前异能值:"<<Rsp<<endl;
cin>>s;
cin>>t;
if(mine[s] >= t){
mine[s] -= t;
cout<<"融入成功!"<<endl;
Rsp += sheet[s] * t;
}else{
cout<<"没有!"<<endl;
}
}
cout<<"卡包已合成"<<endl;
Rsp -= 5000;
cin>>s;
int a = rand() % 15 + 1;
cout<<"恭喜抽中:";
if(a <= 5){
cout<<"R1"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
mine["R1"] += 5;
}else if(a <= 9){
cout<<"R3"<<' ';
SLEEP(500);
cout<<"R2"<<' ';
SLEEP(500);
cout<<"R2"<<' ';
SLEEP(500);
cout<<"R2"<<' ';
SLEEP(500);
cout<<"R2"<<' ';
SLEEP(500);
mine["R3"] ++;
mine["R2"] += 4;
}else if(a <= 12){
cout<<"R5"<<' ';
SLEEP(500);
cout<<"R3"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
mine["R5"] ++;
mine["R3"] ++;
mine["R1"] += 3;
}else if(a <= 14){
cout<<"R5"<<' ';
SLEEP(500);
cout<<"R4"<<' ';
SLEEP(500);
cout<<"R3"<<' ';
SLEEP(500);
cout<<"R2"<<' ';
SLEEP(500);
cout<<"R1"<<' ';
SLEEP(500);
mine["R1"] ++;
mine["R2"] ++;
mine["R3"] ++;
mine["R4"] ++;
mine["R5"] ++;
}else{
cout<<"R5"<<' ';
SLEEP(500);
cout<<"R5"<<' ';
SLEEP(500);
cout<<"R5"<<' ';
SLEEP(500);
cout<<"R5"<<' ';
SLEEP(500);
cout<<"R5"<<' ';
SLEEP(500);
mine["R5"] += 5;
}
D += 5;
cout<<endl;
}
void SR(){
map<string,int>::iterator it;
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
while(SRsp < 20000){
cout<<"当前异能值:"<<SRsp<<endl;
cin>>s;
cin>>t;
if(mine[s] >= t){
mine[s] -= t;
cout<<"融入成功!"<<endl;
SRsp += sheet[s] * t;
}else{
cout<<"没有!"<<endl;
}
}
cout<<"卡包已合成"<<endl;
SRsp -= 20000;
cin>>s;
int a = rand() % 15 + 1;
cout<<"恭喜抽中:";
if(a <= 5){
cout<<"格瑞"<<' ';
SLEEP(1000);
cout<<"SR1"<<' ';
SLEEP(1000);
cout<<"SR1"<<' ';
SLEEP(1000);
cout<<"R5"<<' ';
SLEEP(1000);
cout<<"R3"<<' ';
SLEEP(1000);
mine["格瑞"] ++;
mine["R3"] ++;
mine["R5"] ++;
mine["SR1"] += 2;
}else if(a <= 9){
cout<<"雷狮"<<' ';
SLEEP(1000);
cout<<"嘉德罗斯"<<' ';
SLEEP(1000);
cout<<"SR1"<<' ';
SLEEP(1000);
cout<<"R5"<<' ';
SLEEP(1000);
cout<<"R5"<<' ';
SLEEP(1000);
mine["嘉德罗斯"] ++;
mine["雷狮"] ++;
mine["SR1"] ++;
mine["R5"] += 2;
}else if(a <= 12){
cout<<"安迷修"<<' ';
SLEEP(1000);
cout<<"SR2"<<' ';
SLEEP(1000);
cout<<"SR2"<<' ';
SLEEP(1000);
cout<<"R5"<<' ';
SLEEP(1000);
cout<<"R5"<<' ';
SLEEP(1000);
mine["R5"] += 2;
mine["SR2"] += 2;
mine["安迷修"] ++;
}else if(a <= 14){
cout<<"SR5"<<' ';
SLEEP(1000);
cout<<"SR4"<<' ';
SLEEP(1000);
cout<<"SR3"<<' ';
SLEEP(1000);
cout<<"SR2"<<' ';
SLEEP(1000);
cout<<"SR1"<<' ';
SLEEP(1000);
mine["SR1"] ++;
mine["SR2"] ++;
mine["SR3"] ++;
mine["SR4"] ++;
mine["SR5"] ++;
}else{
cout<<"SR5"<<' ';
SLEEP(1000);
cout<<"SR5"<<' ';
SLEEP(1000);
cout<<"SR5"<<' ';
SLEEP(1000);
cout<<"SR5"<<' ';
SLEEP(1000);
cout<<"SR5"<<' ';
SLEEP(1000);
mine["SR5"] += 5;
}
D += 10;
cout<<endl;
}
void SSR(){
map<string,int>::iterator it;
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
while(SSRsp < 40000){
cout<<"当前异能值:"<<SSRsp<<endl;
cin>>s;
cin>>t;
if(mine[s] >= t){
mine[s] -= t;
cout<<"融入成功!"<<endl;
SSRsp += sheet[s] * t;
}else{
cout<<"没有!"<<endl;
}
}
cout<<"卡包已合成"<<endl;
SSRsp -= 40000;
cin>>s;
int a = rand() % 150 + 1;
cout<<"恭喜抽中:";
if(a <= 50){
cout<<"SR2"<<' ';
SLEEP(2000);
cout<<"SR2"<<' ';
SLEEP(2000);
cout<<"SR2"<<' ';
SLEEP(2000);
cout<<"SR2"<<' ';
SLEEP(2000);
cout<<"SSR3"<<' ';
SLEEP(2000);
mine["SR2"] += 4;
mine["SSR3"] ++;
}else if(a <= 90){
cout<<"SR1"<<' ';
SLEEP(2000);
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SR1"<<' ';
SLEEP(2000);
cout<<"SR1"<<' ';
SLEEP(2000);
cout<<"SR5"<<' ';
SLEEP(2000);
mine["SSR5"] ++;
mine["SR5"] ++;
mine["SR1"] += 3;
}else if(a <= 91){
cout<<"金"<<' ';
SLEEP(2000);
cout<<"SR1"<<' ';
SLEEP(2000);
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SR5"<<' ';
SLEEP(2000);
cout<<"SR5"<<' ';
SLEEP(2000);
mine["SR5"] += 2;
mine["SSR5"] ++;
mine["金"] ++;
mine["SR1"] ++;
}else if(a <= 130){
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SSR4"<<' ';
SLEEP(2000);
cout<<"SSR3"<<' ';
SLEEP(2000);
cout<<"SSR2"<<' ';
SLEEP(2000);
cout<<"SSR1"<<' ';
SLEEP(2000);
mine["SSR1"] ++;
mine["SSR2"] ++;
mine["SSR3"] ++;
mine["SSR4"] ++;
mine["SSR5"] ++;
}else{
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SSR5"<<' ';
SLEEP(2000);
cout<<"SSR5"<<' ';
SLEEP(2000);
mine["SSR5"] += 5;
}
D += 20;
cout<<endl;
}
void UR(){
map<string,int>::iterator it;
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
while(URsp < 500000){
cout<<"当前异能值:"<<URsp<<endl;
cin>>s;
cin>>t;
if(mine[s] >= t){
mine[s] -= t;
cout<<"融入成功!"<<endl;
URsp += sheet[s] * t;
}else{
cout<<"没有!"<<endl;
}
}
cout<<"卡包已合成"<<endl;
URsp -= 500000;
cin>>s;
int a = rand() % 100 + 1;
cout<<"恭喜抽中:";
if(a <= 90){
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"格瑞"<<' ';
SLEEP(3000);
cout<<"嘉德罗斯"<<' ';
SLEEP(3000);
cout<<"雷狮"<<' ';
SLEEP(3000);
cout<<"安迷修"<<' ';
SLEEP(3000);
mine["安迷修"] ++;
mine["格瑞"] ++;
mine["雷狮"] ++;
mine["嘉德罗斯"] ++;
}else if(a <= 94){
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"勤奋蛇"<<' ';
SLEEP(3000);
mine["勤奋蛇"] ++;
}else if(a <= 97){
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"求知福"<<' ';
SLEEP(3000);
mine["求知福"] ++;
}else if(a <= 99){
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"金"<<' ';
SLEEP(3000);
mine["金"] ++;
}else{
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"空卡"<<' ';
SLEEP(3000);
cout<<"究极至尊无敌卡"<<' ';
SLEEP(3000);
mine["究极至尊无敌卡"] ++;
}
D += 50;
cout<<endl;
}
signed main(){
srand(time(0));
SLEEP(1000);
jieshao();
cout<<"选择存档槽(1-3):"<<endl;
cin>>currentSlot;
if(currentSlot<1||currentSlot>3)currentSlot=1;
cout<<"0继续游戏 1新游戏"<<endl;
cin>>t;
if(t==0)loadGame();
else newGame();
sheet["R1"] = 200;
sheet["R2"] = 800;
sheet["R3"] = 1400;
sheet["R4"] = 2200;
sheet["R5"] = 3000;
sheet["SR1"] = 3900;
sheet["SR2"] = 4900;
sheet["SR3"] = 6000;
sheet["SR4"] = 7200;
sheet["SR5"] = 8400;
sheet["SSR1"] = 10500;
sheet["SSR2"] = 12000;
sheet["SSR3"] = 13500;
sheet["SSR4"] = 15500;
sheet["SSR5"] = 17500;
sheet["安迷修"] = 888;
sheet["雷狮"] = 1888;
sheet["格瑞"] = 6888;
sheet["嘉德罗斯"] = 7888;
sheet["金"] = 8888;
sheet["滑冰"] = 200;
sheet["冬季两项"] = 800;
sheet["滑雪登山"] = 1200;
sheet["冰球"] = 1600;
sheet["冰壶"] = 1800;
sheet["滑雪"] = 2200;
sheet["运动卡"] = 100000;
sheet["凹凸世界"] = 5000000;
sheet["智慧蛇"] = 2888;
sheet["友善蛇"] = 6888;
sheet["健康蛇"] = 10888;
sheet["诚信蛇"] = 14888;
sheet["勤奋蛇"] = 18888;
sheet["健康福"] = 188888;
sheet["诚信福"] = 288888;
sheet["勇气福"] = 388888;
sheet["智慧福"] = 488888;
sheet["求知福"] = 588888;
sheet["蛇年大礼包"] = 888888;
sheet["R级大礼包"] = 18888;
sheet["SR级大礼包"] = 88888;
sheet["SSR级大礼包"] = 200000;
sheet["超级福卡"] = 8888888;
sheet["究极至尊无敌卡"] = 888888888;
map<string,int>::iterator it;
while(true){
cout<<"0抽卡,1融卡,2个人主页,3兑换,4贷款,5回炉重造,6展厅,7存档,8统计面板"<<endl;
cin>>t;
if(t == 0){
if(D == 0){
cout<<"抽卡机会不足!"<<endl;
continue;
}
cout<<"还有"<<D<<"次抽卡机会"<<endl;
cout<<"抽几次?"<<endl;
while(cin>>t){
if(D >= t)break;
cout<<"抽卡机会不足!"<<endl;
}
D -= t;
cout<<"恭喜抽中:";
for(int i=1;i<=t;i++){
string s = Draw();
if(s == " ")continue;
cout<<s<<' ';
//SLEEP(100);
mine[s] ++;
BD ++;
}cout<<endl;
}else if(t == 1){
cout<<"什么级别?"<<endl;
SLEEP(500);
cout<<"有R、SR、SSR和UR。"<<endl;
cin>>s;
if(s != "R" && s != "SR" && s != "SSR" && s != "UR"){
cout<<"没有!"<<endl;
}else{
if(s == "R"){
R();
if(gld)N --;
}else if(s == "SR"){
SR();
if(gld)N --;
}else if(s == "SSR"){
SSR();
if(gld)N --;
}else{
UR();
if(gld)N --;
}
if(!CJ[1]){
CJ[1] = 1;
cout<<"完成成就:初出茅庐!"<<endl;
SLEEP(500);
cout<<"奖励1000次抽卡机会!"<<endl;
D += 1000;
}
}
}else if(t == 2){
for(it = mine.begin(); it != mine.end(); ){
if(it->second <= 0) it = mine.erase(it);
else ++it;
}
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
}else if(t == 3){
cout<<"换什么?"<<endl;
cout<<"1.凹凸世界,2.运动卡,3.蛇年大礼包,4.R级,5.SR级,6.SSR级,7.超级福卡,8.究极至尊无敌卡"<<endl;
cin>>t;
cout<<"是否一键兑换?(1是,0不是)"<<endl;
int _78;
cin>>_78;
if(_78 == 0)cout<<"合几张?"<<endl;
if(t == 1){
if(_78 == 0)cin>>t;
else t = min(mine["嘉德罗斯"],min(mine["格瑞"],min(mine["安迷修"],min(mine["金"],mine["雷狮"]))));
if(mine["嘉德罗斯"] >= t && mine["格瑞"] >= t && mine["安迷修"] >= t && mine["雷狮"] >= t && mine["金"] >= t){
mine["嘉德罗斯"] -= t;
mine["格瑞"] -= t;
mine["金"] -= t;
mine["安迷修"] -= t;
mine["雷狮"] -= t;
mine["凹凸世界"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else if(t == 2){
if(_78 == 0)cin>>t;
else t = min(mine["滑冰"],min(mine["冬季两项"],min(mine["滑雪登山"],min(mine["冰球"],min(mine["冰壶"],mine["滑雪"])))));
if(mine["滑冰"] >= t && mine["冬季两项"] >= t && mine["滑雪登山"] >= t && mine["冰球"] >= t && mine["冰壶"] >= t && mine["滑雪"] >= t){
mine["滑冰"] -= t;
mine["滑雪登山"] -= t;
mine["冬季两项"] -= t;
mine["冰球"] -= t;
mine["冰壶"] -= t;
mine["滑雪"] -= t;
mine["运动卡"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else if(t == 3){
if(_78 == 0)cin>>t;
else t = min(mine["智慧蛇"],min(mine["友善蛇"],min(mine["健康蛇"],min(mine["诚信蛇"],mine["勤奋蛇"]))));
if(mine["智慧蛇"] >= t && mine["友善蛇"] >= t && mine["健康蛇"] >= t && mine["诚信蛇"] >= t && mine["勤奋蛇"] >= t){
mine["智慧蛇"] -= t;
mine["友善蛇"] -= t;
mine["健康蛇"] -= t;
mine["诚信蛇"] -= t;
mine["勤奋蛇"] -= t;
mine["蛇年大礼包"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else if(t == 4){
if(_78 == 0)cin>>t;
else t = min(mine["R1"]/5,min(mine["R2"]/4,min(mine["R3"]/3,min(mine["R4"]/2,mine["R5"]))));
if(mine["R1"] >= 5*t && mine["R2"] >= 4*t && mine["R3"] >= 3*t && mine["R4"] >= 2*t && mine["R5"] >= t){
mine["R1"] -= 5*t;
mine["R2"] -= 4*t;
mine["R3"] -= 3*t;
mine["R4"] -= 2*t;
mine["R5"] -= t;
mine["R级大礼包"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else if(t == 5){
if(_78 == 0)cin>>t;
else t = min(mine["SR1"]/5,min(mine["SR2"]/4,min(mine["SR3"]/3,min(mine["SR4"]/2,mine["SR5"]))));
if(mine["SR1"] >= 5*t && mine["SR2"] >= 4*t && mine["SR3"] >= 3*t && mine["SR4"] >= 2*t && mine["SR5"] >= t){
mine["SR1"] -= 5*t;
mine["SR2"] -= 4*t;
mine["SR3"] -= 3*t;
mine["SR4"] -= 2*t;
mine["SR5"] -= t;
mine["SR级大礼包"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else if(t == 6){
if(_78 == 0)cin>>t;
else t = min(mine["SSR1"]/5,min(mine["SSR2"]/4,min(mine["SSR3"]/3,min(mine["SSR4"]/2,mine["SSR5"]))));
if(mine["SSR1"] >= 5*t && mine["SSR2"] >= 4*t && mine["SSR3"] >= 3*t && mine["SSR4"] >= 2*t && mine["SSR5"] >= t){
mine["SSR1"] -= 5*t;
mine["SSR2"] -= 4*t;
mine["SSR3"] -= 3*t;
mine["SSR4"] -= 2*t;
mine["SSR5"] -= t;
mine["SSR级大礼包"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else if(t == 7){
if(_78 == 0)cin>>t;
else t = min(mine["智慧福"],min(mine["勇气福"],min(mine["诚信福"],min(mine["健康福"],mine["求知福"]))));
if(mine["智慧福"] >= t && mine["勇气福"] >= t && mine["诚信福"] >= t && mine["健康福"] >= t && mine["求知福"] >= t){
mine["智慧福"] -= t;
mine["勇气福"] -= t;
mine["诚信福"] -= t;
mine["健康福"] -= t;
mine["求知福"] -= t;
mine["超级福卡"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}else{
if(_78 == 0)cin>>t;
else t = min(mine["凹凸世界"],min(mine["运动卡"],min(mine["R级大礼包"],min(mine["SR级大礼包"],min(mine["SSR级大礼包"],min(mine["蛇年大礼包"],mine["超级福卡"]))))));
if(mine["凹凸世界"] >= t && mine["运动卡"] >= t && mine["R级大礼包"] >= t && mine["SR级大礼包"] >= t && mine["SSR级大礼包"] >= t && mine["蛇年大礼包"] >= t && mine["超级福卡"] >= t){
mine["凹凸世界"] -= t;
mine["运动卡"] -= t;
mine["R级大礼包"] -= t;
mine["SR级大礼包"] -= t;
mine["SSR级大礼包"] -= t;
mine["蛇年大礼包"] -= t;
mine["超级福卡"] -= t;
mine["究极至尊无敌卡"] += t;
cout<<"兑换成功!"<<endl;
}else{
cout<<"卡牌不足!"<<endl;
}
}
}else if(t == 4){
cout<<"你确认要贷款(高利贷)吗?"<<endl;
SLEEP(1000);
cout<<"说好了,你要在N次融卡之后还我价值(3N * 该卡价值/2)的卡。"<<endl;
SLEEP(1000);
cout<<"N最多10"<<endl;
SLEEP(1000);
cout<<"如果要跑的话,输入1"<<endl;
cin>>t;
if(t == 1){
cout<<"切,真是胆小鬼!"<<endl;
continue;
}
LX = 1;
cout<<"要什么?(禁止限定卡)"<<endl;
cin>>s;
if(s[0] != 'R' && s[0] != 'S'){
cout<<"不是说了不准有限定卡吗?"<<endl;
SLEEP(1000);
cout<<"我看你就是不想借!"<<endl;
SLEEP(1000);
cout<<"因为你没有诚意,所以利息乘5倍!"<<endl;
LX *= 5;
}
cout<<"要几张?(最多100张)"<<endl;
cin>>t;
if(t > 100){
cout<<"不是说了不准超过100张吗?"<<endl;
SLEEP(1000);
cout<<"我看你就是不想借!"<<endl;
SLEEP(1000);
cout<<"因为你没有诚意,所以利息乘5倍!"<<endl;
LX *= 5;
}
cout<<"几次之后还?"<<endl;
cin>>N;
if(N > 10){
cout<<"不是说了不准超过10次吗?"<<endl;
SLEEP(1000);
cout<<"我看你就是不想借!"<<endl;
continue;
}
if(N <= 0){
cout<<"?"<<endl;
SLEEP(500);
cout<<"什么意思?"<<endl;
SLEEP(500);
cout<<"挑衅我?"<<endl;
SLEEP(500);
cout<<"那我就强制1次还!"<<endl;
N = 1;
}
mine[s] += t;
cout<<"已到账!"<<endl;
SLEEP(1000);
ans = N*sheet[s]*t/2*3*LX;
cout<<"共计还款"<<ans<<"异能值"<<endl;
if(ans >= 1000000 && !CJ[8]){
CJ[8] = 1;
cout<<"获得成就:负债累累!"<<endl;
SLEEP(500);
cout<<"获得称号:债王!"<<endl;
SLEEP(500);
cout<<"你欠这么多,还好意思要奖励吗?"<<endl;
CH[2] = 1;
}
gld = 1;
}else if(t == 5){
cout<<"现在是回炉重造的时间!"<<endl;
SLEEP(1000);
if(__78__ == 0){
cout<<"你,相信光吗?"<<endl;
SLEEP(2000);
cout<<"就像阳光 穿破黑夜"<<endl;
SLEEP(2000);
cout<<"黎明悄悄 划过天边"<<endl;
SLEEP(2000);
cout<<"谁的声音 穿梭轮回间"<<endl;
SLEEP(2000);
cout<<"新的风暴已经出现"<<endl;
SLEEP(2000);
cout<<"怎么能够停滞不前"<<endl;
SLEEP(2000);
cout<<"穿越时空 竭尽全力"<<endl;
SLEEP(2000);
cout<<"我会来到你身边"<<endl;
SLEEP(2000);
cout<<"呸,串台了"<<endl;
SLEEP(1000);
cout<<"我是问,";
__78__ = 1;
}
cout<<"你,相信奇迹吗?"<<endl;
SLEEP(1000);
cout<<"就是把价值t异能值的东西换成t/400次抽卡机会"<<endl;
SLEEP(1000);
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
cout<<"出哪些?(输入0截止,多余的私吞)"<<endl;
long long _78_ = 0;
while(true){
cin>>s;
if(s == "0")break;
cin>>t;
if(mine[s] < t){
cout<<"泥马勒戈壁的,你特么的没有!"<<endl;
continue;
}
mine[s] -= t;
_78_ += sheet[s] * t;
}
cout<<"总共付出了"<<_78_<<"异能值"<<endl;
cout<<"获得"<<_78_ / 400<<"次机会"<<endl;
D += _78_ / 400;
}else if(t == 6){
cout<<"==========这是你的展厅=========="<<endl;
cout<<"1.普通稀有卡展厅"<<endl;
SLEEP(500);
cout<<"2.高级稀有卡展厅"<<endl;
SLEEP(500);
cout<<"3.普通兑换卡展厅"<<endl;
SLEEP(500);
cout<<"4.特别稀有卡展厅"<<endl;
SLEEP(500);
cout<<"0退出"<<endl;
cin>>t;
if(t == 1){
cout<<"你已来到普通稀有卡展厅"<<endl;
SLEEP(1000);
for(int i=1;i<=10;i++){
cout<<i<<":"<<R_T[i].first<<":"<<(R_T[i].second?"已放入":(mine[R_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
cout<<"请问你要放入/拿出什么(序号)?离开就输入0。放置1,拿出0。"<<endl;
while(true){
int xt;
cin>>xt>>t;
if(t == 0)break;
if(xt){
if(t < 1 || t > 10 || mine[R_T[t].first] < 1){
cout<<"没有!"<<endl;
}else if(R_T[t].second){
cout<<"已经放过了!"<<endl;
}else{
mine[R_T[t].first] --;
R_T[t].second = 1;
cout<<"放置成功!"<<endl;
for(int i=1;i<=10;i++){
cout<<i<<":"<<R_T[i].first<<":"<<(R_T[i].second?"已放入":(mine[R_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}else{
if(t < 1 || t > 10){
cout<<"没有!"<<endl;
}else if(R_T[t].second != 1){
cout<<"已经拿走了!"<<endl;
}else{
mine[R_T[t].first] ++;
R_T[t].second = 0;
cout<<"拿出成功!"<<endl;
for(int i=1;i<=10;i++){
cout<<i<<":"<<R_T[i].first<<":"<<(R_T[i].second?"已放入":(mine[R_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}
}
}else if(t == 2){
cout<<"你已来到高级稀有卡展厅"<<endl;
SLEEP(1000);
for(int i=1;i<=8;i++){
cout<<i<<":"<<SR_T[i].first<<":"<<(SR_T[i].second?"已放入":(mine[SR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
cout<<"请问你要放入/拿出什么(序号)?离开就输入0。放置1,拿出0。"<<endl;
while(true){
int xt;
cin>>xt>>t;
if(t == 0)break;
if(xt){
if(t < 1 || t > 8 || mine[SR_T[t].first] < 1){
cout<<"没有!"<<endl;
}else if(SR_T[t].second){
cout<<"已经放过了!"<<endl;
}else{
mine[SR_T[t].first] --;
SR_T[t].second = 1;
cout<<"放置成功!"<<endl;
for(int i=1;i<=8;i++){
cout<<i<<":"<<SR_T[i].first<<":"<<(SR_T[i].second?"已放入":(mine[SR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}else{
if(t < 1 || t > 8){
cout<<"没有!"<<endl;
}else if(SR_T[t].second != 1){
cout<<"已经拿走了!"<<endl;
}else{
mine[SR_T[t].first] ++;
SR_T[t].second = 0;
cout<<"拿出成功!"<<endl;
for(int i=1;i<=8;i++){
cout<<i<<":"<<SR_T[i].first<<":"<<(SR_T[i].second?"已放入":(mine[SR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}
}
}else if(t == 3){
cout<<"你已来到普通兑换卡展厅"<<endl;
SLEEP(1000);
for(int i=1;i<=7;i++){
cout<<i<<":"<<SSR_T[i].first<<":"<<(SSR_T[i].second?"已放入":(mine[SSR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
cout<<"请问你要放入/拿出什么(序号)?离开就输入0。放置1,拿出0。"<<endl;
while(true){
int xt;
cin>>xt>>t;
if(t == 0)break;
if(xt){
if(t < 1 || t > 7 || mine[SSR_T[t].first] < 1){
cout<<"没有!"<<endl;
}else if(SSR_T[t].second){
cout<<"已经放过了!"<<endl;
}else{
mine[SSR_T[t].first] --;
SSR_T[t].second = 1;
cout<<"放置成功!"<<endl;
for(int i=1;i<=7;i++){
cout<<i<<":"<<SSR_T[i].first<<":"<<(SSR_T[i].second?"已放入":(mine[SSR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}else{
if(t < 1 || t > 7){
cout<<"没有!"<<endl;
}else if(SSR_T[t].second != 1){
cout<<"已经拿走了!"<<endl;
}else{
mine[SSR_T[t].first] ++;
SSR_T[t].second = 0;
cout<<"拿出成功!"<<endl;
for(int i=1;i<=7;i++){
cout<<i<<":"<<SSR_T[i].first<<":"<<(SSR_T[i].second?"已放入":(mine[SSR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}
}
}else if(t == 4){
cout<<"你已来到特别稀有卡展厅"<<endl;
SLEEP(1000);
for(int i=1;i<=4;i++){
cout<<i<<":"<<UR_T[i].first<<":"<<(UR_T[i].second?"已放入":(mine[UR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
cout<<"请问你要放入/拿出什么(序号)?离开就输入0。放置1,拿出0。"<<endl;
while(true){
int xt;
cin>>xt>>t;
if(t == 0)break;
if(xt){
if(t < 1 || t > 4 || mine[UR_T[t].first] < 1){
cout<<"没有!"<<endl;
}else if(UR_T[t].second){
cout<<"已经放过了!"<<endl;
}else{
mine[UR_T[t].first] --;
UR_T[t].second = 1;
cout<<"放置成功!"<<endl;
if(t == 4)cout<<"你是真正的肝帝、欧皇!"<<endl;
for(int i=1;i<=4;i++){
cout<<i<<":"<<UR_T[i].first<<":"<<(UR_T[i].second?"已放入":(mine[UR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}else{
if(t < 1 || t > 4){
cout<<"没有!"<<endl;
}else if(UR_T[t].second != 1){
cout<<"已经拿走了!"<<endl;
}else{
mine[UR_T[t].first] ++;
UR_T[t].second = 0;
cout<<"拿出成功!"<<endl;
for(int i=1;i<=4;i++){
cout<<i<<":"<<UR_T[i].first<<":"<<(UR_T[i].second?"已放入":(mine[UR_T[i].first]>0?"拥有":"未拥有"))<<endl;
SLEEP(500);
}
}
}
}
}
cout<<"==========你已离开展厅=========="<<endl;
if(!CJ[7]){
int tflag = 1;
for(int i=1;i<=10;i++)if(R_T[i].second == 0)tflag = 0;
for(int i=1;i<=8;i++)if(SR_T[i].second == 0)tflag = 0;
for(int i=1;i<=7;i++)if(SSR_T[i].second == 0)tflag = 0;
for(int i=1;i<=4;i++)if(UR_T[i].second == 0)tflag = 0;
if(tflag){
CJ[7] = 1;
cout<<"获得成就:满墙荣耀!"<<endl;
SLEEP(500);
cout<<"获得抽卡次数8888次!"<<endl;
D += 8888;
}
}
}else if(t == 7){
saveGame();
}else if(t == 8){
tongji();
}else if(t == 114514){
cout<<"要什么?"<<endl;
cin>>s;
cout<<"要几张?"<<endl;
cin>>t;
mine[s] += t;
cout<<"获得成功!"<<endl;
}else{
cout<<"乱翻什么!"<<endl;
SLEEP(1000);
cout<<"我会把你的抽卡次数归零,来作为你的惩罚。"<<endl;
SLEEP(1000);
cout<<"骗你的"<<endl;
SLEEP(2000);
cout<<"我会直接把你的游戏强制结束"<<endl;
SLEEP(1000);
cout<<"--------------------------------"<<endl;
cout<<"Process exited after "<<clock() / 100.0<<" seconds with return value 0"<<endl;
cout<<"请按任意键继续. . ."<<endl;
SLEEP(2000);
cout<<"其实结束没什么意思,还是清零吧。"<<endl;
D = 0;
}
if(N == 0 && gld == 1){
cout<<"好了,到了还款时间了!"<<endl;
SLEEP(1000);
cout<<"还款"<<ans<<"异能值"<<endl;
cout<<"没卡了就输出0"<<endl;
while(ans > 0){
cout<<"还要还"<<ans<<"异能值"<<endl;
for(it = mine.begin();it != mine.end();it ++){
cout<<it->first<<'*'<<it->second<<' ';
}cout<<endl;
cin>>s>>t;
if(mine[s] < t){
cout<<"泥马勒戈壁的,你特么的没有!"<<endl;
continue;
}
mine[s] -= t;
ans -= sheet[s]*t;
for(it = mine.begin();it != mine.end();){
if(it->second == 0)it = mine.erase(it);
else ++it;
}
if(mine.empty()){
cout<<"没卡了吧?"<<endl;
ans -= (Rsp + SRsp + SSRsp + URsp);
SLEEP(500);
cout<<"那你就别想要异能值了"<<endl;
Rsp = SRsp = SSRsp = URsp = 0;
if(ans > 0){
SLEEP(2000);
cout<<"居然还没有还完?那我就拿抽卡次数换了"<<endl;
SLEEP(2000);
cout<<"一次当50异能值,很划算吧!"<<endl;
SLEEP(2000);
cout<<"不公平?没关系,我是债主,规矩我定。"<<endl;
D *= 50;
D -= ans;
if(D < 0){
cout<<"还是有"<<abs(D)<<"异能值还不上"<<endl;
SLEEP(1000);
cout<<"展厅的东西我不要"<<endl;
SLEEP(2000);
cout<<"还不上,就趋势吧!"<<endl;
return 0;
}
D /= 50;
}
}
}
cout<<"还完了"<<endl;
if(ans == 0)
cout<<"可恶!正好还完!捞不到油水了!"<<endl;
else
cout<<"太好了!多的那些我就帮你保管(私吞)了"<<endl;
gld = 0;
}
for(it = mine.begin();it != mine.end();){
if(it->second == 0){
it = mine.erase(it);
}else{
kapian.insert(it->first);
it ++;
}
}
if(mine["滑冰"] >= 1 && mine["滑雪"] >= 1 && mine["冬季两项"] >= 1 && mine["冰球"] >= 1 && mine["冰壶"] >= 1 && mine["滑雪登山"] >= 1 && !CJ[2]){
CJ[2] = 1;
cout<<"达成成就:运动大王!"<<endl;
SLEEP(500);
cout<<"奖励1000次抽卡机会!"<<endl;
D += 1000;
}
if(mine["金"] >= 1 && mine["格瑞"] >= 1 && mine["安迷修"] >= 1 && mine["嘉德罗斯"] >= 1 && mine["雷狮"] >= 1 && !CJ[3]){
CJ[3] = 1;
cout<<"达成成就:星辰汇聚!"<<endl;
SLEEP(500);
cout<<"奖励5000次抽卡机会!"<<endl;
D += 5000;
}
if(mine["勤奋蛇"] >= 1 && mine["智慧蛇"] >= 1 && mine["诚信蛇"] >= 1 && mine["友善蛇"] >= 1 && mine["健康蛇"] >= 1 && !CJ[4]){
CJ[4] = 1;
cout<<"达成成就:巳蛇圆满!"<<endl;
SLEEP(500);
cout<<"奖励3000次抽卡机会!"<<endl;
D += 3000;
}
if(mine["求知福"] >= 1 && mine["健康福"] >= 1 && mine["勇气福"] >= 1 && mine["诚信福"] >= 1 && mine["智慧福"] >= 1 && !CJ[5]){
CJ[5] = 1;
cout<<"达成成就:五福临门!"<<endl;
SLEEP(500);
cout<<"奖励4000次抽卡机会!"<<endl;
D += 4000;
}
if(mine["究极至尊无敌卡"] >= 1 && !CJ[6]){
CJ[6] = 1;
cout<<"获得成就:究极至尊!"<<endl;
SLEEP(500);
cout<<"获得88888次抽卡机会,获得称号:肝帝!"<<endl;
D += 88888;
CH[1] = 1;
}
if(BD >= 66666 && !CJ[9]){
CJ[9] = 1;
cout<<"获得成就:抽卡战神!"<<endl;
SLEEP(500);
cout<<"奖励6666次抽卡机会!"<<endl;
D += 6666;
}
if(!CJ[10] && mine.size() >= 43 && CJ[7]){
CJ[10] = 1;
cout<<"恭喜您!达成隐藏成就:完美主义者!"<<endl;
SLEEP(500);
cout<<"获得888888次抽卡机会,获得称号:完美主义者!"<<endl;
D += 888888;
CH[3] = 1;
SLEEP(1000);
cout<<"你已站在巅峰,俯瞰众生..."<<endl;
}
}
return 0;
}不喜勿喷